Search by

rmunate / laravel_helpers

rmunate

Generate application helpers and extend Laravel's native helper classes.

Package info

github.com/rmunate/LaravelHelpers

pkg:composer/rmunate/laravel_helpers

Statistics

Installs: 2 805

Dependents: 0

Suggesters: 0

Stars: 55

Open Issues: 0

v4.0.0 2026-11-18 16:04 UTC

This package is auto-updated.

Last update: 2026-11-18 20:24:04 UTC


README

Generate helper classes and global functions inside your Laravel app. The generated Arr, Date, File, Number, and Str classes forward calls to Laravel, so you can add your own methods without modifying the framework.

Install 4.0

Laravel PHP versions supported by Laravel
13.x 8.3–8.5
12.x 8.2–8.5

Install on a supported Laravel application:

composer require "rmunate/laravel_helpers:^4.0"

Laravel discovers the package automatically. The intl extension is needed for localized number formatting.

Quick start

php artisan helper:init         # Generate Arr, Date, File, Number, and Str
php artisan helper:create Html  # Generate a custom class
php artisan helper:functions    # Create an optional global functions file

In a standard Laravel app, files are created in app/Helpers. Running helper:init again fills in missing files without replacing your changes.

use App\Helpers\Str;

Str::slug('Laravel Helpers'); // 'laravel-helpers'
Str::isDigit('42');           // true

See the full documentation, 4.0 release and migration notes, and contributor guide.

License

MIT · Sponsor the project