Spatie/laravel-backup service provider registration change between Lumen 8.x and 9.x
0 reputation · 28 Jul 2025, 19:41 UTC
When upgrading a Lumen application from version 8.x to 9.x, the spatie/laravel-backup package’s service provider is no longer auto‑discovered by the container.
The goal is to confirm that registering the provider manually in bootstrap/app.php restores full backup and verification functionality without additional configuration.
Uncertainty remains about whether any extra service providers, facades, or filesystem‑disk settings must be adjusted for the backup:run --check command to execute and validate checksums successfully.
Is registering Spatie\Backup\BackupServiceProvider in bootstrap/app.php sufficient for backup:run --check to run successfully in Lumen 9.x? Does the package require any additional service providers or facades to be aliased? Are there any known compatibility issues with the default filesystem disk configuration when using the backup package in Lumen 9.x?