rebelinblue/laravel-zxcvbn
A Laravel wrapper for zxcvbn, the password strength estimator. Validate passwords with realistic scoring, get actionable feedback and suggestions, and block weak or common passwords in your forms and APIs.
composer require line works across the 5.x, 6.x, 7.x, 8.x, 9.x, 10.x, 11.x, and 12.x lines — you no longer need a separate fork or a pinned major for older apps.composer.json. The require block tells you the PHP floor (this matters more than the Laravel floor: 5.4 runs on PHP 5.6.4+, but the package may need 7.x), and the extra.laravel block tells you which service providers and facades are auto-registered.config/app.php['providers'] and the facade to ['aliases'] by hand; there is no package:discover step to rely on.php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider") so the defaults are visible and editable, then run migrations if the package ships them.config/... and override per environment; avoid editing vendor defaults so upgrades stay clean.version_compare(app()->version(), '8.0', '>=') checks or small adapter classes. The package supporting 5.4+ does not mean your own application code should assume 5.4-era APIs.$this->instance(...) or $this->swap(...)) so feature tests do not depend on live external calls. Package facades are the usual place tests leak.Bus::fake() / Queue::fake() to confirm dispatch without executing the package during the test run.--prefer-lowest is the cheap way to catch a broken floor.composer.json constraint and confirm your CI matrix actually exercises the old and new ends of the supported range.php artisan config:cache, package config changes are ignored until you clear it. Same for route:cache if the package registers routes.bootstrap/cache/packages.php — it is the generated manifest of what Laravel believes is registered — and re-run php artisan package:discover after editing composer.json.composer why-not vendor/package 1.6.0 to see exactly which dependency is holding you back when the upgrade will not resolve.app()->version() alongside the failure. Most cross-version issues are framework API drift (container resolution, model events, HTTP client), not package-specific bugs.How can I help you explore Laravel packages today?