PHPackages                             itsmill3rtime/simple-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. itsmill3rtime/simple-helpers

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

itsmill3rtime/simple-helpers
============================

Helper functions to ease development and increase readability

1.7(8y ago)21.7k1PHPPHP &gt;=5.3.0

Since Mar 16Pushed 8y ago1 watchersCompare

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

READMEChangelog (8)DependenciesVersions (9)Used By (0)

Simple Helpers
==============

[](#simple-helpers)

Helper functions for laravel to ease development and increase readability

### Installation

[](#installation)

Simple Helpers requires Laravel &gt;= 5.1

Install Package:

```
$ composer require itsmill3rtime/simple-helpers
```

Add provider to Laravel config.php

```
'providers' => [
 ...
    \Itsmill3rtime\Helpers\SimpleHelpersProvider::class,
]

```

Some functions include a final parameter called $loose. This if set to true will use the == operator instead of ===

### Condition Helpers

[](#condition-helpers)

Functionnot\_null($value)returns true if value is not null, false if is nullis\_false($value, $loose = false)returns true if value is false, false if value is truenot\_false($value, $loose = false)returns true if value is not false, false if value is falseis\_true($value, $loose = false)returns true if value is true, false if value is falsenot\_true($value, $loose = false)return true if value is not true, false if value is truenot\_in\_array($needle, $haystack)returns true if value is not found in array, false if value is foundnot\_empty($value)returns true if value is not empty, false if value is empty### Eloquent Helpers

[](#eloquent-helpers)

FunctiongetInputs($request, $merge\_in = \[\])Takes laravel custom requests and returns only the fields present in $request-&gt;rules() array. $mergin\_in field will merge in key pairs provided into the final output (useful for adding user\_id, etc.)enumMigration()Call inside your migration when modifying a table that has enum columns. Allows updates without getting errors due to Doctrine not fully supporting enum type by emulating the enum column as string### Environment Helpers

[](#environment-helpers)

Functionserver($key)returns $\_SERVER($key), if key not found will return null

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~14 days

Recently: every ~25 days

Total

8

Last Release

2926d ago

### Community

Maintainers

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

---

Top Contributors

[![itsmill3rtime](https://avatars.githubusercontent.com/u/2539808?v=4)](https://github.com/itsmill3rtime "itsmill3rtime (10 commits)")

### Embed Badge

![Health badge](/badges/itsmill3rtime-simple-helpers/health.svg)

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

###  Alternatives

[phar-io/version

Library for handling version information and constraints

7.5k770.9M51](/packages/phar-io-version)[illuminate/collections

The Illuminate Collections package.

27075.6M1.0k](/packages/illuminate-collections)

PHPackages © 2026

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