定制 atindia/laravel-backup 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

atindia/laravel-backup

最新稳定版本:v1.0.3

Composer 安装命令:

composer require atindia/laravel-backup

包简介

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

README 文档

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.

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

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-05-03