Search by

foxws / laravel-essentials

francoism90

Essentials for Laravel projects

Package info

github.com/foxws/laravel-essentials

pkg:composer/foxws/laravel-essentials

Fund package maintenance!

foxws

Statistics

Installs: 1 273

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

0.0.3 2026-09-16 18:39 UTC

This package is auto-updated.

Last update: 2026-09-25 07:08:04 UTC


README

Laravel Essentials

Packagist PHP from Packagist Laravel versions GitHub Workflow Status (main) Total Downloads

Essentials for Laravel projects

Inspired by nunomaduro/essentials, but configured differently: instead of an opt-out disabled array, each default here is a class that decides for itself whether it applies (via enabled()), is listed explicitly in an opt-in configurables array, and can be registered at runtime with Essentials::extend() — so other packages can ship their own defaults without the consuming app touching config at all.

Installation

You can install the package via Composer:

composer require foxws/laravel-essentials

You may publish all of the package's resources at once:

php artisan vendor:publish --tag="essentials"

Or, you may publish each resource individually:

Publishing the Configuration File

php artisan vendor:publish --tag="essentials-config"

Usage

Once installed, Laravel Essentials applies a set of sensible defaults automatically — no code required:

// Model::shouldBeStrict(), URL::forceHttps(), Date::use(CarbonImmutable::class), and more.

See the documentation for the full list of defaults and how to enable or disable them.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Thank you for considering contributing to Laravel Essentials! Please review our contributing guide to get started.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

Laravel Essentials is open-sourced software licensed under the MIT license.