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.
What changed in 4.0.0: A single, framework-alignment release. The package now targets Laravel / Laravel Zero 12.x and explicitly drops Laravel 11.x support. No new features, no API surface changes announced, no deprecations beyond the dropped framework line.
Architecture fit: Padlock remains a thin, framework-native Laravel package with an accompanying Laravel Zero CLI component. That is a good architectural fit for a Laravel shop: no sidecar service, no external datastore, no separate auth provider. The coupling to Laravel Zero means the package tracks two upstream release trains (Laravel for the library, Laravel Zero for the CLI), which is the main structural consideration.
Integration feasibility: Straightforward for any application already on Laravel 12. The upgrade is a composer require bump plus a config/cache clear; there is no published migration path or code-modification guide, which strongly suggests the maintainer considers it a no-op for consumers on a supported framework version. For applications still on Laravel 11, this release is not installable — integration is blocked until the host app upgrades.
Technical risk:
^12.0, so Padlock 4.0.0 cannot coexist with Laravel 11. Any app with a mixed dependency graph (other packages lagging on Laravel 12) will hit an unsatisfiable Composer resolution, not a runtime error. This is a planning risk, not a code risk.composer.json rather than assuming.Key questions:
illuminate/* / laravel-zero/* constraints in composer.json?Stack fit: Assumes a Laravel 12 application and a PHP 8.2+ runtime for both the app and any CI images. If the CLI is consumed as a global Composer binary rather than a project dependency, it is a separate upgrade track from the application and must be versioned deliberately.
Migration path (3.x → 4.0.0):
^4.0 in composer.json; run composer update fidum/padlock --with-dependencies rather than a full update, so unrelated transitive drift is excluded from the change.Compatibility: The only hard incompatibility is Laravel 11. Downstream, check other packages pinned to Laravel 11-era internals; the failure mode will be Composer conflict resolution at install time, which surfaces early and is therefore low-severity. Watch for a transitive dependency on the laravel-zero CLI packages leaking into the runtime dependency tree.
Sequencing: Upgrade Laravel first, Padlock second, within the same maintenance window. Do not attempt to sequence Padlock ahead of the framework upgrade. If the CLI is a global tool, upgrade it in a separate, earlier step so local developer tooling is stable before the application moves.
Maintenance: Very low steady-state cost — the package is small and the release does not add configuration or moving parts. The recurring cost is the forced major upgrade cadence tied to Laravel majors. Treat it as a standing line item in every framework upgrade, not as an ad-hoc surprise.
Support: Single-maintainer project with a low-activity release history. Acceptable for a small, well-scoped utility; not acceptable if it becomes load-bearing for a security boundary (e.g. authentication). Classify the dependency accordingly and note the classification in the repo's dependency register.
Scaling: No scaling characteristics to assess — the package carries no runtime infrastructure, background workers, or persistent state of its own. Scaling is entirely a function of the host application.
Failure modes:
Ramp-up: Near zero. A developer familiar with Laravel can adopt this in under an hour, and the 4.0.0 diff introduces no new concepts. The documentation burden is limited to recording the pinned CLI version and the version-pairing rule (Padlock major ↔ Laravel major) in the team runbook.
How can I help you explore Laravel packages today?