foxws/laravel-essentials

Essentials for Laravel projects
3,063 1
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
Maintainer: francoism90

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:install

Already using Boost? Run php artisan boost:update --discover to 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

License

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

Related Packages

foxws/laravel-pwa

PWA manifest and Blade directives for Laravel.

7,563 1
foxws/laravel-shaka

A Laravel package to interact with Shaka Packager for media packaging.

7,789 2
foxws/laravel-streamer

A Laravel package to interact with Shaka Streamer for media packaging.

6,503 2
foxws/laravel-ab-av1

A Laravel package for encoding videos to AV1 format using ab-av1.

6,930 1
nunomaduro/essentials

Just better defaults for your Laravel projects.

1,063,679 1,243

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