PHPackages                             cleaniquecoders/laravel-helper - 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. cleaniquecoders/laravel-helper

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

cleaniquecoders/laravel-helper
==============================

Built with Laravel Standalone Package Creator

4.4.0(3mo ago)410.4k2[1 PRs](https://github.com/cleaniquecoders/laravel-helper/pulls)7MITPHPPHP ^8.1 | ^8.2 | ^8.3 | ^8.4CI passing

Since Aug 10Pushed 3mo agoCompare

[ Source](https://github.com/cleaniquecoders/laravel-helper)[ Packagist](https://packagist.org/packages/cleaniquecoders/laravel-helper)[ GitHub Sponsors](https://github.com/cleaniquecoders)[ RSS](/packages/cleaniquecoders-laravel-helper/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (12)Versions (19)Used By (7)

[![Latest Stable Version](https://camo.githubusercontent.com/b9b39f0d6f9df01807959c3418b998fc22acba5a8530749a728bd306f814bf2f/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f6c61726176656c2d68656c7065722f762f737461626c65)](https://packagist.org/packages/cleaniquecoders/laravel-helper) [![Total Downloads](https://camo.githubusercontent.com/6505de609db6538438e92c35da72a51356fc6236444abe4fda39efd92cee4ff2/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f6c61726176656c2d68656c7065722f646f776e6c6f616473)](https://packagist.org/packages/cleaniquecoders/laravel-helper) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/e6acf58e857845cf42d86e5894570cf9558a391f70b2b3f6199efd78b9ccc7f3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636c65616e69717565636f646572732f6c61726176656c2d68656c7065722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/cleaniquecoders/laravel-helper/?branch=master) [![License](https://camo.githubusercontent.com/e3ba1aedfe156dd2c48540b5dd189c754fba279f8104673edc5a7e4d27561431/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f6c61726176656c2d68656c7065722f6c6963656e7365)](https://packagist.org/packages/cleaniquecoders/laravel-helper)

About Your Package
------------------

[](#about-your-package)

A collection of helpers for your application.

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

[](#installation)

In order to install `cleaniquecoders/laravel-helper` in your Laravel project, just run the *composer require* command from your terminal:

```
composer require cleaniquecoders/laravel-helper
```

Then in your `config/app.php` add the following to the providers array:

```
CleaniqueCoders\LaravelHelper\LaravelHelperServiceProvider::class,
```

In the same `config/app.php` add the following to the aliases array:

```
'LaravelHelper' => CleaniqueCoders\LaravelHelper\LaravelHelperFacade::class,
```

Publish Laravel Helper config file:

```
php artisan vendor:publish --tag=laravel-helper
```

Usage
-----

[](#usage)

*Generate Sequence*

`generate_sequence(313)` will generate `000313`. This is quiet useful if you want to standardised the generate sequence number.

**Abbreviation**

`abbrv('your words')` will generate `YRWDS`.

You may configure `abbrv()` helper via helper config file.

**Fully Qualified Class Name, FQCN**

`fqcn($user)` - will return `App\User`. This will be useful if you dealing with Polymorph relationship.

**Slugged Name of FQCN**

`str_slug_fqcn($user)` - will generate `app-user`, kebab case of the FQCN. This will be useful if you want to have sluggable name of an object and use it as identifier in the database, instead of the FQCN.

**Notification**

You can simply send notification to user by calling `notify()` helper.

```
// send by id
notify(1)
    ->subject('Laravel Helper')
    ->message('Sending notification via notify helper is awesome.')->send();

// you can send by email, but require to specify column name on second argument
notify('nasrulhazim.m@gmail.com', 'email')
    ->subject('Laravel Helper')
    ->message('Sending notification via notify helper is awesome.')
    ->send();

// Send with Subject and Message, CC and BCC
$cc = \App\Models\User::whereIn('id', [2,3,4])->get()->pluck('email')->toArray();
$bcc = \App\Models\User::whereIn('id', [5,6,7])->get()->pluck('email')->toArray();

notify(1)
   ->subject('Laravel Helper')
   ->message('Send notification via notify() helper is awesome and easy.')
   ->cc($cc)
   ->bcc($bcc)
   ->send();

// Send Notification with Subject, Message, Link.
notify(1)
   ->subject('Laravel Helper')
   ->message('Send notification via notify() helper is awesome and easy.')
   ->link('https://google.com')
   ->send();

// Send Notification with Subject, Message, Link and Custom Link Label.
notify(1)
   ->subject('Laravel Helper')
   ->message('Send notification via notify() helper is awesome and easy.')
   ->link('https://google.com')
   ->link_label('Google')
   ->send();

// Send Notification with Subject, Message, Link, Custom Link Label and Custom Template.
notify(1)
   ->subject('Laravel Helper')
   ->message('Send notification via notify() helper is awesome and easy.')
   ->link('https://google.com')
   ->link_label('Google')
   ->template('mail.custom')
   ->send();

// Send Notification with Subject, Message, Link, Custom Link Label, Custom Template and Mixed Data.
notify(1)
   ->subject('Laravel Helper')
   ->message('Send notification via notify() helper is awesome and easy.')
   ->link('https://google.com')
   ->link_label('Google')
   ->template('mail.custom')
   ->data($anything)
   ->send();
```

> You can set anything to data - array, object, string, etc.

Test
----

[](#test)

To run the test, type `vendor/bin/phpunit` in your terminal.

To have codes coverage, please ensure to install PHP XDebug then run the following command:

```
$ vendor/bin/phpunit -v --coverage-text --colors=never --stderr

```

Contributing
------------

[](#contributing)

Thank you for considering contributing to the `cleaniquecoders/laravel-helper`!

### Bug Reports

[](#bug-reports)

To encourage active collaboration, it is strongly encourages pull requests, not just bug reports. "Bug reports" may also be sent in the form of a pull request containing a failing test.

However, if you file a bug report, your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue. The goal of a bug report is to make it easy for yourself - and others - to replicate the bug and develop a fix.

Remember, bug reports are created in the hope that others with the same problem will be able to collaborate with you on solving it. Do not expect that the bug report will automatically see any activity or that others will jump to fix it. Creating a bug report serves to help yourself and others start on the path of fixing the problem.

Coding Style
------------

[](#coding-style)

`cleaniquecoders/laravel-helper` follows the PSR-2 coding standard and the PSR-4 autoloading standard.

You may use PHP CS Fixer in order to keep things standardised. PHP CS Fixer configuration can be found in `.php_cs`.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance82

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 53.8% 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 ~173 days

Recently: every ~374 days

Total

17

Last Release

103d ago

Major Versions

v1.3.0 → v2.0.02020-03-05

v2.0.0 → v3.0.02020-09-09

v3.1.0 → 4.0.02022-02-12

PHP version history (6 changes)v1.0.0PHP &gt;=7.1

v1.2.0PHP &gt;=7.2

v3.0.0PHP &gt;=7.3

4.0.0PHP ^8.0|^8.1

4.2.0PHP ^8.1 | ^8.2 | ^8.3

4.3.0PHP ^8.1 | ^8.2 | ^8.3 | ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/b57069d0f4b634f65eccc6e5d5848990e25968d45ec2cf46d626c6a4658f944b?d=identicon)[nasrulhazim.m](/maintainers/nasrulhazim.m)

---

Top Contributors

[![nasrulhazim](https://avatars.githubusercontent.com/u/10341422?v=4)](https://github.com/nasrulhazim "nasrulhazim (43 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (20 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (16 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

abbreviationfqcngeneratorhelperlaravelnotificationnotifysequencesluglaravelpackage

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/cleaniquecoders-laravel-helper/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

144177.7k](/packages/bensampo-laravel-embed)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40140.4k2](/packages/erlandmuchasaj-laravel-gzip)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.2k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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