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

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

boomdraw/laravel-helpers
========================

Laravel heleprs

1.0.0(7y ago)19MITPHPPHP ^7.1.3

Since Dec 3Pushed 7y ago1 watchersCompare

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

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

Laravel helpers package
=======================

[](#laravel-helpers-package)

This package allows you to generate helper classes with facades and aliases. Also it provides some helper commands and built in helpers.

Once installed you can do stuff like this:

Commands
--------

[](#commands)

Run `config:cache`, `route:cache`, `view:cache` and `helpers:cache` at once

```
php artisan cache:all
```

Run `cache:clear`, `config:clear`, `route:clear`, `view:clear` and `helpers:clear` at once

```
php artisan cache:clear-all
```

`cache:clear-all` alias

```
php artisan clear:all
```

Add helpers to cache to get them without filesystem watching

```
php artisan helpers:cache
```

Remove helpers from cache

```
php artisan helpers:clear
```

Run `ide-helper:generate`, `ide-helper:meta` and `ide-helper:models --nowrite` at once.

```
php artisan ide-helper:all
```

To run this command you should install `barryvdh/laravel-ide-helper` and `doctrine/dbal` first!

Generate helper class with facade in your project

```
php artisan make:helper {class}
```

Traits
------

[](#traits)

### Route key getter

[](#route-key-getter)

```
use BoomDraw\Helpers\Traits\RouteKeyGetter.php
```

Sets route key as id for admin\* routes and as slug for other

### Service name getter

[](#service-name-getter)

```
use BoomDraw\Helpers\Traits\ServiceNameGetter.php
```

Adds `getServiceName()` method to generate service name for helper using classname

### Table name getter

[](#table-name-getter)

```
use BoomDraw\Helpers\Traits\TableNameGetter.php
```

Adds `getTableName()` method to get model table name Adds `getMorphName()` method to get model morph name

Helpers
-------

[](#helpers)

### SeoHelper

[](#seohelper)

Adds `columns()` method that allows fast adding meta\_keywords, meta\_description and robots columns to table migration

### StrHelper

[](#strhelper)

Adds `between`, `wbetween` and `utrim` methods

### Global methods

[](#global-methods)

`str_between`, `str_wbetween`, `utrim`

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

[](#installation)

### Laravel

[](#laravel)

You can install the package via composer:

```
composer require boomdraw/laravel-helpers
```

You can publish the config file with:

```
php artisan vendor:publish --provider="BoomDraw\Helpers\HelpersServiceProvider" --tag="config"
```

When published, [the `config/helpers.php` config file](https://github.com/boomdraw/laravel-helpers/blob/master/config/helpers.php) contains:

```
return [

    /*
     * Path to generate helpers in your app folder
     */
    'path' => 'Helpers',

    /*
     * Dir for facades if you want to store them separately
     * If empty, facades will be generated in path with Facade postfix
     */
    'facade_dir' => null,

    /*
     * Key to store helpers in cache
     */
    'cache_key' => 'helpers_cache',

    /*
     * Writes services to cache automatically
     */
    'force_cache' => false,
];
```

Todo
----

[](#todo)

Add other seo features

The MIT License (MIT).
----------------------

[](#the-mit-license-mit)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

2717d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ea243328c8a8a4e8d68dbc440f4b0325ef814a64fda5ebd1623f3bbc75c523e8?d=identicon)[boomdraw](/maintainers/boomdraw)

---

Top Contributors

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

---

Tags

laravelhelperslaravel-helpersboomdraw

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[prologue/support

Prologue Support is an extension for Illuminate Support

1616.8k](/packages/prologue-support)

PHPackages © 2026

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