mcrumley/php-complexify
A PHP port of the Complexify jQuery plugin for server-side password strength checking. It scores passwords by length, character variety, and common patterns, returning a complexity value and validity flag so your backend can enforce the same rules as the frontend.
mcrumley/php-complexify is a small, framework-agnostic password-strength estimator derived from a client-side JavaScript library. In a Laravel application it fits best as an isolated service or custom validation rule that provides advisory strength scoring, not as an authentication or password-policy framework. It can sit alongside Laravel’s built-in validation, Fortify/Jetstream/Breeze flows, and custom registration/reset-password forms.PasswordStrengthService or ComplexifyPassword rule rather than calling vendor code directly from controllers. A short spike should confirm API shape, score ranges, valid/invalid semantics, licensing, tests, and PHP 7.4/8.x compatibility.Complexify semantics. Pair it with Laravel’s baseline controls such as minimum length, confirmed password, rate limiting, and a breached-password check where required.zxcvbn-php, while preserving the same internal service contract. No schema migration is expected.How can I help you explore Laravel packages today?