PHPackages                             sparkison/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. sparkison/laravel-helpers

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

sparkison/laravel-helpers
=========================

Helper classes dependency for Laravel Enso

123PHP

Since Feb 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sparkison/laravel-helpers)[ Packagist](https://packagist.org/packages/sparkison/laravel-helpers)[ RSS](/packages/sparkison-laravel-helpers/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Helpers
=======

[](#helpers)

[![Codacy Badge](https://camo.githubusercontent.com/69b9af12c46982fbccd09acc3dbd26b49ff985e39280cf79fa15a51fe6dec53f/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3463303834616164613062663466373062663339373333383330306266633564)](https://www.codacy.com/app/laravel-enso/Helpers?utm_source=github.com&utm_medium=referral&utm_content=laravel-enso/Helpers&utm_campaign=badger)[![StyleCI](https://camo.githubusercontent.com/ec54587720d67584dd05d75a4ca41babddec7a386d16bc574ddd5661a220d03c/68747470733a2f2f7374796c6563692e696f2f7265706f732f38353436363937302f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/85466970)[![License](https://camo.githubusercontent.com/7592493a270ce46de5cb47b4bf200fb98f420470031e08c88ad53611b98ba0c4/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f68656c706572732f6c6963656e7365)](https://packagist.org/packages/laravel-enso/helpers)[![Total Downloads](https://camo.githubusercontent.com/931009fbdf522ebb7ae011b8267359a3f5514ee93f3178f3825102bc55b902b8/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f68656c706572732f646f776e6c6f616473)](https://packagist.org/packages/laravel-enso/helpers)[![Latest Stable Version](https://camo.githubusercontent.com/9f42bf9d7407dde9e042350c289f20f7f10700c05da93e545cd5796a8d24020e/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f68656c706572732f76657273696f6e)](https://packagist.org/packages/laravel-enso/helpers)

Helper classes dependency for [Laravel Enso](https://github.com/laravel-enso/Enso).

### Includes

[](#includes)

#### Classes

[](#classes)

- An abstract `Enum` class which can be used to build an enumeration out of an array or a config file and comes with a set of helper functions
- An `Obj` class, with a constructor for building an object from an array, that provides a suite of helper functions, such as: `all()`, `__toString()`, `toJson()`, `toArray()`, `get($key)`, `set($key, $value)`, `has($key)`, `keys()`, `values()` and more

#### Exceptions

[](#exceptions)

- A generic exception: `EnsoException` is available also with a Facade. This exception is extended by all the other Enso specific exceptions and it is not reported by the Laravel's Exception Handler

#### Traits

[](#traits)

- `IsActive` - adds `whereActive()` and `whereDisabled()` scopes, `isActive()` and `isDisabled()` helpers, for models that have a boolean `is_active` property

### Usage

[](#usage)

Be sure to check out the full documentation for this package available at [docs.laravel-enso.com](https://docs.laravel-enso.com/packages/helpers.html)

### Contributions

[](#contributions)

are welcome. Pull requests are great, but issues are good too.

### License

[](#license)

This package is released under the MIT license.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ca838697e3c8e86fa2439fa9c318ef385dd3851dce2031c08c8ed677103c48f?d=identicon)[sparkison](/maintainers/sparkison)

### Embed Badge

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

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

###  Alternatives

[jakewhiteley/php-sets

An implementation of a Java-like Set data structure for PHP. A Set is an iterable data structure which allows strict-type storage of unique values.

1827.5k](/packages/jakewhiteley-php-sets)[marciocamello/yii2-x-editable

X-editable extensions for Yii 2, based in X-editable with Bootstrap

228.8k2](/packages/marciocamello-yii2-x-editable)

PHPackages © 2026

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