atindia/laravel-backup

There is no license information available for the latest version (v1.0.3) of this package.

We provide functionality to perform full backups of the Laravel application, including database backups, file backups.

v1.0.3 2024-05-03 11:44 UTC

This package is auto-updated.

Last update: 2024-06-03 12:04:04 UTC


README

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.

68747470733a2f2f617374726964746563686e6f6c6f67792e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032342f30352f6c61726176656c2d6261636b75702e676966

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