Looking to hire Laravel developers? Try LaraJobs

laravel-backup maintained by atindia

Description
We provide functionality to perform full backups of the Laravel application, including database backups, file backups.
Last update
2024/05/03 13:44 (dev-main)
Links
Downloads
11

Comments
comments powered by Disqus

Latest Version on Packagist License Total Downloads

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