foxws/laravel-essentials
| Install | |
|---|---|
composer require foxws/laravel-essentials |
|
| Latest Version: | 0.0.5 |
| PHP: | ^8.4 |
| Laravel: | 13 |
| License: | MIT |
| Last Updated: | Oct 14, 2026 |
| Links: | GitHub · Packagist |
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"
[!TIP] Let your AI agent do the hard parts. This package ships a Laravel Boost skill,
laravel-essentials-development, that teaches your agent how to install, configure and use Laravel Essentials. Install Boost and select the skill when prompted:composer require laravel/boost --dev php artisan boost:installAlready using Boost? Run
php artisan boost:update --discoverto pick up the skill. Then just ask, for example: "Install Laravel Essentials and turn on strict models and forced HTTPS in production."
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
- foxws
- All Contributors
- nunomaduro/essentials, for the original idea
License
Laravel Essentials is open-sourced software licensed under the MIT license.
Related Packages
A Laravel package to interact with Shaka Streamer for media packaging.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.0.5 | ^8.4 | ^13.0 | MIT | |
| 0.0.4 | ^8.4 | ^13.0 | MIT | |
| 0.0.3 | ^8.4 | ^13.0 | MIT | |
| 0.0.2 | ^8.4 | ^13.0 | MIT | |
| 0.0.1 | ^8.4 | ^13.0 | MIT |