atindia / laravel-backup
We provide functionality to perform full backups of the Laravel application, including database backups, file backups.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- spatie/laravel-backup: ^8.0
README
Laravel Backup
Laravel Backup offers a comprehensive solution for managing backups within your Laravel application, streamlining the process with ease.
Installation
Before installing this package, please ensure you have installed and configured the prerequisite package spatie/laravel-backup:
composer require spatie/laravel-backup
To integrate Laravel Backup into your project, execute the following Composer command:
composer require atindia/laravel-backup
Configuration
In earlier versions of Laravel, providers were typically registered in the config/app.php file. However, with the evolution of Laravel 11.x and beyond, many configurations have been relocated to the /bootstrap directory.
In Laravel 11.x and later, the bootstrap/providers.php file returns an array containing all the providers that will be registered in your application. To include the Laravel Backup provider, add the following line to this array:
AstridTechnology\LaravelBackup\Providers\AstridBackupServiceProvider::class,
Generate the configuration file by running:
php artisan vendor:publish --provider="AstridTechnology\LaravelBackup\Providers\AstridBackupServiceProvider" --tag="config"
In the newly created config/projectbackup.php file, specify authorized email addresses to control route access:
return [
'authorized_emails' => ['example@test.com']
];
Access Panel Route
You can access the backup panel via the following route:
http://yourdomain.com/backup-panel
License
The MIT License (MIT). Please see License File for more information