PHPackages                             shegunbabs/laravel-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. shegunbabs/laravel-helpers

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shegunbabs/laravel-helpers
==========================

Awesome Laravel Helpers

v0.1.1(4y ago)06MITPHP

Since Dec 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/shegunbabs/laravel-helpers)[ Packagist](https://packagist.org/packages/shegunbabs/laravel-helpers)[ Docs](https://github.com/shegunbabs/laravel-helpers)[ RSS](/packages/shegunbabs-laravel-helpers/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (7)Versions (3)Used By (0)

Collection Laravel helper functions
===================================

[](#collection-laravel-helper-functions)

[![example workflow](https://github.com/shegunbabs/laravel-helpers/actions/workflows/build.yml/badge.svg)](https://github.com/shegunbabs/laravel-helpers/actions/workflows/build.yml/badge.svg)

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

[](#installation)

```
  composer require shegunbabs/laravel-helpers
```

Helpers
-------

[](#helpers)

#### carbon

[](#carbon)

shortcut for `new Carbon` or `Carbon::parse()`

```
carbon('today'); //2021-11-29 00:00:00
carbon('yesterday'); //2021-11-28 00:00:00
```

#### emoji

[](#emoji)

print emojis using php

```
emoji('CHARACTER_GRINNING_FACE'); //😀
```

This function is based on the [Spatie Emoji package](https://github.com/spatie/emoji). Refer to the documentation for more information

#### chain

[](#chain)

Make an ordinary object chainable.

```
chain(new SomeClass)
    ->firstMethod()
    ->secondMethod()
    ->thirdMethod(carry);

// Use "carry" constant to pass the return value of a method into the other.

chain(new Str)->lower('John Doe')->camel(carry);
// returns "johnDoe"
// You can grab the result of the chain by trailing a "()" on the end of it.
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

1672d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4442197?v=4)[Shegun Babs](/maintainers/shegunbabs)[@shegunbabs](https://github.com/shegunbabs)

---

Top Contributors

[![shegunbabs](https://avatars.githubusercontent.com/u/4442197?v=4)](https://github.com/shegunbabs "shegunbabs (14 commits)")

---

Tags

laravel-helpersshegunbabs

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[nativephp/mobile

NativePHP for Mobile

1.1k75.1k96](/packages/nativephp-mobile)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43411.2k](/packages/venturedrake-laravel-crm)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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