Download the PHP package groupesti/laravel-password without Composer
On this page you can find all versions of the php package groupesti/laravel-password. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download groupesti/laravel-password
More information about groupesti/laravel-password
Files in groupesti/laravel-password
Package laravel-password
Short Description Password policy and lifecycle for Laravel: extended validation rule, blocklists, reuse prevention, expiration, compromise detection and notifications.
License MIT
Homepage https://github.com/groupesti/laravel-password
Informations about the package laravel-password
Laravel Password
Password policy and lifecycle for Laravel: a validation rule that extends
Illuminate\Validation\Rules\Password, blocklists (file + database), password
reuse prevention, expiration / forced change, breach detection (HaveIBeenPwned)
and user/administrator notifications — fully configurable and translated.
Installation
For the lifecycle columns on the users table:
The validation rule
Every character-class method follows the signature (?int $min = 1, ?int $max = null):
a bare call requires "at least 1", null disables the bound.
Default policy
Password::defaults() builds the rule from config/password.php:
Utilities
Lifecycle (history, expiration, forced change)
On your User model:
Prevent reuse (last N or N days, depending on the config):
On every password change: $user->markPasswordChanged();
Force a change through the middleware:
Real-time compromise detection + notifications
Enable password.realtime.enabled: on sign-in the password is checked against
HaveIBeenPwned and the configured action is applied (force_change | notify |
block). User and administrator notifications, as well as a scheduled digest
(daily/weekly/monthly), are configured in the notifications section.
Operational errors (an unavailable blocklist source, etc.) throw exceptions that self-report: logging + administrator alert.
Component stubs
Ready-to-use password fields (show/hide toggle, strength meter, live requirements):
Translations
Provided for: en, fr, es, de, pt-BR, it, nl, ru, zh-CN, ja, ar, tr.
License
MIT. See license.md.
All versions of laravel-password with dependencies
ext-mbstring Version *
illuminate/support Version ^11.0 || ^12.0 || ^13.0
illuminate/validation Version ^11.0 || ^12.0 || ^13.0
illuminate/database Version ^11.0 || ^12.0 || ^13.0
illuminate/notifications Version ^11.0 || ^12.0 || ^13.0
ramsey/uuid Version ^4.9.3