spatie/laravel-backup ? reverse-engineered prompt

Reverse engineered prompt

Build me a Laravel package that makes it easy to back up an app.

I want one command that creates a zip backup of the files I choose plus a database dump, then stores that backup on one or more Laravel filesystems. It should also be able to check whether backups are still healthy, send a notification when something goes wrong, and clean up old backups so disk space doesn’t get out of control.

Make it feel simple to install and use in a normal Laravel project, with sensible defaults and clear configuration. It should work well with the latest Laravel and PHP version, and include tests so I can trust it. If you need to check the current Laravel docs online for the best approach, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab