Download the PHP package datalogix/laravel-sensible without Composer
On this page you can find all versions of the php package datalogix/laravel-sensible. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download datalogix/laravel-sensible
More information about datalogix/laravel-sensible
Files in datalogix/laravel-sensible
Package laravel-sensible
Short Description Laravel Sensible is a lightweight utility package for applying smart defaults and common best practices in everyday Laravel development.
License MIT
Homepage https://github.com/datalogix/laravel-sensible
Informations about the package laravel-sensible
Laravel Sensible
Laravel Sensible is a lightweight utility package for applying smart defaults and common best practices in everyday Laravel development.
Installation
You can install the package via composer:
The package will automatically register itself.
Features
All features are optional and fully configurable via config/sensible.php
:
- 🚀 Asset Prefetching – Preload assets for faster load times.
- ⚡️ Auto Eager Loading – Avoid N+1 queries automatically.
- 😴 Fake Sleep – Mocks the delay function in tests, preventing real delays.
- 🔒 Force HTTPS – Enforce secure
https://
URLs. - 🕒 Immutable Dates – Prevent unexpected date mutations.
- 🔄 Prevent Stray Requests – Block unmocked HTTP requests.
- 🛑 Safe Console – Block dangerous Artisan commands.
- 🔑 Set Default Password - Enforce strong password policies.
- ✅ Strict Models – Enforce strict model behavior.
- 🔓 Optional Unguarded Models – Disable mass-assignment protection.
Configuration
You can publish the config file using the command:
This will create a config/sensible.php
file where you can enable or disable individual features:`
By default, most features are enabled. Simply set any option to false
to disable it.
All versions of laravel-sensible with dependencies
illuminate/database Version ^11.39|^12.0
illuminate/support Version ^11.39|^12.0
illuminate/validation Version ^11.39|^12.0