foxws/laravel-essentials

Essentials for Laravel projects
1,273 1
Install
composer require foxws/laravel-essentials
Latest Version:0.0.3
PHP:^8.4
License:MIT
Last Updated:Sep 25, 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"

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

nunomaduro/essentials

Just better defaults for your Laravel projects.

933,029 1,244
foxws/laravel-pwa

PWA manifest and Blade directives for Laravel.

5,730 1
foxws/laravel-ab-av1

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

5,501 1
foxws/laravel-podman

Podman Quadlet support to your Laravel application

2,152 1
foxws/laravel-ddd

Domain Driven Design scaffolding for Laravel projects

1,019 1