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 1mo ago

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 14% 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

1618d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0aacd582a26d5e61aa21b83b649c1bc3809d874949bef696da0a744e7df823a5?d=identicon)[shegunbabs](/maintainers/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

[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[pulkitjalan/ip-geolocation

IP Geolocation Wrapper with Laravel Support

89164.9k1](/packages/pulkitjalan-ip-geolocation)[adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

6593.3k1](/packages/adrianorosa-laravel-geolocation)[bakame/laravel-domain-parser

Laravel package to integrate PHP Domain parser.

26534.8k4](/packages/bakame-laravel-domain-parser)

PHPackages © 2026

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