PHPackages                             easoblue/larahelper - 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. easoblue/larahelper

ActiveLibrary

easoblue/larahelper
===================

Laravel helpers.

1.0.1(3y ago)0164↓100%MITPHPPHP ^7.2|^8.0

Since Jun 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nisarr/larahelper)[ Packagist](https://packagist.org/packages/easoblue/larahelper)[ Docs](https://github.com/easoblue/larahelper)[ RSS](/packages/easoblue-larahelper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Useful helpers for every laravel project
========================================

[](#useful-helpers-for-every-laravel-project)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a770ef0f3b0c2885e1aeed5d2c35aced1a94bbbbdc10e8b8a61c0ace3bfe1b96/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6561736f626c75652f6c61726168656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/easoblue/larahelper)[![Build Status](https://camo.githubusercontent.com/65554bf827570ff40743c052c594e031f810258b53861b1a4c933e4fa67e6cd9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6561736f626c75652f6c61726168656c7065722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/easoblue/larahelper)[![Quality Score](https://camo.githubusercontent.com/fbd26861f93165ea0373d0c0ba82ece0232f14ac50fbe7bcce77101e91604b9a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6561736f626c75652f6c61726168656c7065722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/easoblue/larahelper)[![Total Downloads](https://camo.githubusercontent.com/9b6ce12e05561d5ea61f18dd4c4aac1b197c8ae21b6d76ae95457742980769c6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6561736f626c75652f6c61726168656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/easoblue/larahelper)

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

[](#installation)

You can install the package via composer:

```
composer require easoblue/larahelper
```

Usage
-----

[](#usage)

You can add alias for shorthand or import LaraHelper facade directly.

```
use Easoblue\LaraHelper\Facade\LaraHelper;
```

Once ready you can use generateString method to generate random or unique string. You can pass paramter to generate specific type of string.

```
LaraHelper::generateString('alpha');
```

You can use checkUnique and chain with generateString, table name and column name will be required to validate the unique string.

```
LaraHelper::checkUnique('users','username')->generateString('alpha');
```

```
LaraHelper::checkUnique('users','username')->generateString('alpha');

LaraHelper::checkUnique('users','username')->prefix('u_')->postfix('u_')->generateString('alpha');
// prefix will be prepended to the generated string before checking unique.
Same as postfix will be appended to the generated string before checking unique.

// This method will format the error response and return the object with single validation error instead of array.

// $validator is the intance of Illuminate\Validation\Validator class;
if($validator->fails()){
 return LaraHelper::formatValidatorError($validator);
}

LaraHelper::formatToCamelCase('format to camel case');
```

### Testing

[](#testing)

to be added.

Complete documentation
----------------------

[](#complete-documentation)

Complete documentation will be available at doc.easoblue.com

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Nisar Ahmed](https://github.com/easoblue)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~517 days

Total

2

Last Release

1258d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77021478?v=4)[easoblue](/maintainers/easoblue)[@easoblue](https://github.com/easoblue)

---

Top Contributors

[![easoblue](https://avatars.githubusercontent.com/u/77021478?v=4)](https://github.com/easoblue "easoblue (9 commits)")[![nisardevpro](https://avatars.githubusercontent.com/u/53566249?v=4)](https://github.com/nisardevpro "nisardevpro (1 commits)")

---

Tags

easobluelarahelper

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/easoblue-larahelper/health.svg)

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

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)

PHPackages © 2026

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