signifly/laravel-cancellation
Signifly's Laravel Cancellation package lets you gracefully cancel queued jobs and long-running tasks. Add cancellation checks so workers stop early, handle cleanup, and avoid wasted processing with a simple, framework-friendly API.
php -v on every environment (local, CI, staging, prod). If any host is on 7.4, v1.5.0 is not a drop-in — either upgrade the host or hold the constraint at the last 7.x-compatible release.composer require vendor/package:^1.5 rather than a bare composer update, so the intent is recorded in composer.json and reviewable in the PR.php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider" --tag=config (and --tag=migrations if applicable) and diff against your committed copies before accepting.php artisan config:clear && php artisan cache:clear && composer dump-autoload after the upgrade; config caching is the single most common cause of "the upgrade did nothing / everything broke."php artisan tinker, and exercise a single read-only call against real config. If that works, the rest is wiring; if it fails, you've found the problem in 30 seconds instead of in a queued job at 2am.config/, not in code. Reference config keys through config('package.key') inside your adapter only; sprinkle them through controllers and you've made the package impossible to remove.$tries/$backoff and make the call idempotent. Retries are where third-party packages hurt you.RefreshDatabase for anything touching storage; use fakes (Http::fake(), Queue::fake(), Storage::fake()) only for the boundaries the package actually crosses. Faking the package itself usually tests nothing.match in your own translation layer between your domain and the package's API.^1.4 || ^1.5 avoids forcing every downstream app to upgrade in lockstep.^1.5 is semver-compatible:
foo(thing: $x)) break silently-loudly on any parameter rename.null or loose scalars that docblocks previously allowed.composer update --dry-run -v plus the full changelog is five minutes well spent before this touches production.How can I help you explore Laravel packages today?