PHPackages                             nanuc/helpers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. nanuc/helpers

ActiveLibrary

nanuc/helpers
=============

1.0.13(3y ago)07981PHPPHP ^7.3|^8.0|^8.1|^8.2

Since Oct 14Pushed 2y agoCompare

[ Source](https://github.com/nanuc/helpers)[ Packagist](https://packagist.org/packages/nanuc/helpers)[ RSS](/packages/nanuc-helpers/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (1)Versions (15)Used By (1)

Installation
------------

[](#installation)

`composer require nanuc/helpers`

Publish config: `php artisan vendor:publish --provider="Nanuc\Helpers\HelpersServiceProvider" --tag=config`

Usage
-----

[](#usage)

### Quick log

[](#quick-log)

Just an abbreviation for `Log::info`: `l('Log something');`

### DateTime helper

[](#datetime-helper)

``

Available formats (example for German):

```
'medium' => '%a, %d. %b %Y %H:%M',
'long' => '%A, %d. %B %Y %H:%M',
'short' => '%d.%m.%Y, %H:%M',
'with-seconds' => '%d.%m.%Y, %H:%M:%S',
'date' => [
    'short' => '%d.%m.%Y',
    'medium' => '%A, %d. %B %Y',
],
'time' => [
    'short' => '%H:%M',
    'short-appendix' => '%H:%M Uhr',
],

```

### Tabs

[](#tabs)

Use it like:

```

        First content goes here.

        Second content goes here.

        Third content goes here.

```

#### Legacy tabs

[](#legacy-tabs)

Use it like:

```

        Content Tab 1

        Content Tab 2

```

### Collection macros

[](#collection-macros)

#### enumerate

[](#enumerate)

`collect([1, 2, 3])` =&gt; `"1, 2 and 3"`

#### toEloquentCollection

[](#toeloquentcollection)

Transforms an usual collection to an Eloquent collection.

### Socialite login

[](#socialite-login)

**Jetstream needs to be installed for this to work.**

Set credentials ()

```
GOOGLE_CLIENT_ID=...
GOOGLE_CLIENT_SECRET=...
GOOGLE_REDIRECT=https://yoururl.com/auth/google/callback
```

Enable Socialite in config

```
// config/helpers.php
return [
    // ...
    'socialite' => [
        'enabled' => true,
    ]
];
```

Install Socialite: `composer require laravel/socialite`

#### Login Buttons

[](#login-buttons)

``

### Helpscout

[](#helpscout)

#### Embed Beacon

[](#embed-beacon)

Include your beacon key in your .env: `HELPSCOUT_BEACON_KEY=12345678-abcd-efgh-1234-abcdefghijkl`

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 93.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~68 days

Recently: every ~189 days

Total

14

Last Release

1153d ago

PHP version history (3 changes)1.0.0PHP ^7.4

1.0.1PHP ^7.3|^8.0

1.0.13PHP ^7.3|^8.0|^8.1|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/9dd4066526f273592da88a5b863d5302bb171dd626ffd3e646a0f282a0dc4db2?d=identicon)[oleloSebastian](/maintainers/oleloSebastian)

---

Top Contributors

[![SebastianSchoeps](https://avatars.githubusercontent.com/u/44115562?v=4)](https://github.com/SebastianSchoeps "SebastianSchoeps (31 commits)")[![joschua-nanuc](https://avatars.githubusercontent.com/u/64951248?v=4)](https://github.com/joschua-nanuc "joschua-nanuc (2 commits)")

### Embed Badge

![Health badge](/badges/nanuc-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/nanuc-helpers/health.svg)](https://phpackages.com/packages/nanuc-helpers)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
