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

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

stekel/laravel-helpers
======================

A personal collection of Laravel helpers.

v0.0.4(3y ago)021MITPHP

Since Jun 21Pushed 3y agoCompare

[ Source](https://github.com/stekel/laravel-helpers)[ Packagist](https://packagist.org/packages/stekel/laravel-helpers)[ Docs](https://github.com/stekel/laravel-helpers)[ RSS](/packages/stekel-laravel-helpers/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Laravel Helpers
===============

[](#laravel-helpers)

A personal collection of Laravel helpers.

Install
-------

[](#install)

Via Composer

```
$ composer require stekel/laravel-helpers
```

Debug
-----

[](#debug)

FunctionDescription`ddquery(Illuminate\Database\Eloquent\Builder $query)`Debug an eloquent query by outputting sql + bindings`ddf(...)`Runs the Laravel dd() function but also outputs filename and line number`dda(Illuminate\Support\Collection $collection, string $attribute)`Runs the Laravel dd() function while returning only a specific attribute from the collection of models`enableQueryLog()`Enable the Laravel database query log`dumpQueryLog()`Dump the entire Laravel database query log`dumpSimpleQueryLog()`Dump only the query line from the Laravel database query logFormatting
----------

[](#formatting)

FunctionDescription`humanFilesize(integer $bytes, integer $decimals)`Converts bytes into a human readable formatGeneral
-------

[](#general)

FunctionDescription`isNotNull($value)`Checks if the value is not null`isNull($value)`Checks if the value is null (Camel-case version of is\_null())`shortName($object)`Returns class name in lowercase`isJson(string $string)`Checks if the value is json`prettyPrintJson(string $json)`Pretty print json`host()`Get the current hostname`makeArray($value)`Force $value to be an arrayRandom
------

[](#random)

FunctionDescription`randomUppercaseLetter()`Generates a random uppercase letter`randomLowercaseLetter()`Generates a random lowercase letter`generateRandomPassword()`Generates a random password

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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

Total

3

Last Release

1208d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13273514?v=4)[Stephen Keller](/maintainers/stekel)[@stekel](https://github.com/stekel)

---

Top Contributors

[![stekel](https://avatars.githubusercontent.com/u/13273514?v=4)](https://github.com/stekel "stekel (9 commits)")

---

Tags

laravellaravel-helperslaravelhelpers

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

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

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

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

90128.1k](/packages/emargareten-inertia-modal)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3614.9k](/packages/linkxtr-laravel-qrcode)[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)
