PHPackages                             datalogix/laravel-sensible - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. datalogix/laravel-sensible

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

datalogix/laravel-sensible
==========================

Laravel Sensible is a lightweight utility package for applying smart defaults and common best practices in everyday Laravel development.

v1.1.0(1mo ago)0329—10%1MITPHPPHP ^8.2CI passing

Since Apr 15Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/datalogix/laravel-sensible)[ Packagist](https://packagist.org/packages/datalogix/laravel-sensible)[ Docs](https://github.com/datalogix/laravel-sensible)[ GitHub Sponsors](https://github.com/ricardogobbosouza)[ Fund](https://opencollective.com/ricardogobbosouza)[ RSS](/packages/datalogix-laravel-sensible/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (11)Versions (4)Used By (1)

Laravel Sensible
================

[](#laravel-sensible)

[![Latest Stable Version](https://camo.githubusercontent.com/b1f461db02b6c11faf550a04ec19c5700c0c969cedd9cdee16bfe0bbeb4264a7/68747470733a2f2f706f7365722e707567782e6f72672f646174616c6f6769782f6c61726176656c2d73656e7369626c652f76657273696f6e)](https://packagist.org/packages/datalogix/laravel-sensible)[![Total Downloads](https://camo.githubusercontent.com/ba9a468046a20ad56a845de7bd2422cec33f7d02dd65dc4f262da643ad115511/68747470733a2f2f706f7365722e707567782e6f72672f646174616c6f6769782f6c61726176656c2d73656e7369626c652f646f776e6c6f616473)](https://packagist.org/packages/datalogix/laravel-sensible)[![tests](https://github.com/datalogix/laravel-sensible/workflows/tests/badge.svg)](https://github.com/datalogix/laravel-sensible/actions)[![StyleCI](https://camo.githubusercontent.com/d892d2ffd291ab6ffae29adb7952c11923ef7d2aba873a910d229b8e9d820447/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3936363932353439372f736869656c643f7374796c653d666c6174)](https://github.styleci.io/repos/966925497)[![codecov](https://camo.githubusercontent.com/4576c769f824270c8f2ddc45e6da686650a68f26583fc4f8e1e42a65e88d6001/68747470733a2f2f636f6465636f762e696f2f67682f646174616c6f6769782f6c61726176656c2d73656e7369626c652f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/datalogix/laravel-sensible)[![License](https://camo.githubusercontent.com/adaf57d23e80304ba644e71cc02f53e9eaba3fee9bb1d2e0e8250df8a165e273/68747470733a2f2f706f7365722e707567782e6f72672f646174616c6f6769782f6c61726176656c2d73656e7369626c652f6c6963656e7365)](https://packagist.org/packages/datalogix/laravel-sensible)

> Laravel Sensible is a lightweight utility package for applying smart defaults and common best practices in everyday Laravel development.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require datalogix/laravel-sensible
```

The package will automatically register itself.

Features
--------

[](#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
-------------

[](#configuration)

You can publish the config file using the command:

```
php artisan vendor:publish --provider="Datalogix\Sensible\SensibleServiceProvider" --tag="config"
```

This will create a `config/sensible.php` file where you can enable or disable individual features:`

```
// config/sensible.php

return [
    \Datalogix\Sensible\Configurables\Unguard::class => false,
    // other configurables...
];
```

By default, most features are enabled. Simply set any option to `false` to disable it.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance89

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~343 days

Total

2

Last Release

55d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64f33efa07f410c2b5e41054fcf2bd13369172846b9fd71420d2162e90bb6a1a?d=identicon)[ricardogobbosouza](/maintainers/ricardogobbosouza)

---

Top Contributors

[![ricardogobbosouza](https://avatars.githubusercontent.com/u/13064722?v=4)](https://github.com/ricardogobbosouza "ricardogobbosouza (12 commits)")

---

Tags

laravelconfigurationutilitydefaultssensiblelaravel-sensible

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/datalogix-laravel-sensible/health.svg)

```
[![Health](https://phpackages.com/badges/datalogix-laravel-sensible/health.svg)](https://phpackages.com/packages/datalogix-laravel-sensible)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[wearepixel/laravel-cart

A cart implementation for Laravel

1310.5k](/packages/wearepixel-laravel-cart)[glhd/special

1929.4k](/packages/glhd-special)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
