fidum/padlock
Fidum Padlock is a Laravel package that adds simple password protection to your app or selected routes. Configure a password, apply the middleware, and keep staging sites, admin areas, or private pages locked behind a lightweight session-based lock.
Consider it when most of the following hold:
Look elsewhere when:
For executives (one paragraph). We are evaluating a small Laravel package that puts a password gate in front of non-public parts of our application — the kind of thing that keeps unfinished work off the open web and lets reviewers into a staging build without an account. It is cheap to adopt and cheap to remove. The new 4.0.0 release is a maintenance release: it moves the package onto Laravel 12, the framework version currently receiving fixes, and formally drops Laravel 11. That is good news on dependency health, and it comes with one planning consequence — any service we leave on Laravel 11 will be frozen on the previous version of this package, so this becomes a small, concrete line item in our framework upgrade plan rather than a separate initiative. It is not an authentication or access-control system and should not be positioned as one.
For engineering (the practical summary). v4.0.0 is a compatibility-only release — Laravel/Laravel Zero 12.x support, Laravel 11 dropped. No functional changes and no new configuration surface, so the integration surface stays the same. Practical implications:
^3.0 on Laravel 11 apps, ^4.0 only once the app is on Laravel 12. Do not widen constraints to "make Composer happy" — a mixed constraint will resolve to 3.x and mask the fact that you are on an unsupported branch..env or a hardcoded fallback), and make sure protected routes are not also reachable via a hostname or CDN path that bypasses the middleware.How can I help you explore Laravel packages today?