tkaratug/laravel-domain-whitelist
Version 1.2.0 is a compatibility release, not a feature release: it adds Laravel 10 and PHP 8.2 support. Treat it as "make it installable and keep it green on the newest stack" rather than "learn a new API."
php -v and php artisan --version. If you are on PHP 8.2 + Laravel 10, 1.2.0 is the first version that is explicitly supported — upgrade before anything else.composer require vendor/package:^1.2. There is no major bump, so semver says 1.x → 1.2.0 is non-breaking. Verify with composer why-not vendor/package 1.2.0 if resolution fails.composer.json of the package (the require block tells you the real PHP/Laravel floor — "adds support" does not always mean "drops old support").register()/boot() — this is where config merges, bindings, and publish tags live.config/*.php in the package — the knobs you will actually touch day-to-day.php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider" (or --tag=package-config), set the required env vars, and exercise one documented example from the README in php artisan tinker. That single loop — publish, configure, call — is 90% of day-one usage."php": "^8.1|^8.2" and "laravel/framework": "^9.0|^10.0" in your app only after confirming the package's own constraints match. Don't hand-edit the lock file; let Composer resolve.AppServiceProvider, and event listeners if it dispatches events.PHP 8.2 / Laravel 10 alongside your existing 8.1/9 job. Most regressions from a support-bump release surface as deprecation noise on the newest runtime, which only shows up if you actually run it.php artisan queue:restart and php artisan optimize:clear in the deploy script — cached config and stale workers are the usual cause of "it works locally."composer.json before assuming you can (or must) drop Laravel 8/9 or PHP 8.0 from your matrix.#[AllowDynamicProperties] on your own models/DTOs, and report package-side occurrences upstream), plus deprecations around ${} string interpolation and utf8_encode/utf8_decode.doctrine/dbal needed for some change() migrations, removal of $dates on models, and dropped deprecated helpers. If the package touches schema or dates, test those paths explicitly.composer why-not laravel/framework ^10.0 finds the package holding you back. Transitive constraints from dev dependencies (phpunit, mockery) bite too.php artisan config:clear before debugging behavior that "didn't change" — merged package config is cached.php artisan about for environment drift, composer show -t for the dependency tree, and Telescope/log channels for anything the package does at runtime.How can I help you explore Laravel packages today?