Foxws
Opinionated Defaults · Boot-time Config
Laravel Essentials

Sensible Laravel defaults, applied automatically on boot.

Latest release
0.0.3
Requires
PHP ^8.4
Laravel
13.x
Licence
MIT
$ composer require foxws/laravel-essentials
Get started Source ↗

Introduction

Laravel Essentials turns on a set of sensible Laravel defaults for you, automatically, as soon as your app boots. There's no code to write — install the package and things like Model::shouldBeStrict() and URL::forceHttps() are already switched on.

Each default is called a "configurable". It's a small class that checks whether it should run, then applies itself. You can turn any of them on or off, or write your own.

Installation

Install the package with Composer:

composer require foxws/laravel-essentials

If you want to change any settings, publish the config file:

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

Where to go next

Looking for Domain Driven Design scaffolding (ddd:install, ddd:make)? That moved to the separate foxws/laravel-ddd package.