An in house package for configuring backups with s3
pentangle/pentangle-laravel-backup-config is a Laravel package for an in house package for configuring backups with s3.
It currently has 0 GitHub stars and 631 downloads on Packagist (latest version 1.0.6).
Install it with composer require pentangle/pentangle-laravel-backup-config.
Discover more Laravel packages by pentangle
or browse all Laravel packages to compare alternatives.
Last updated
You can install the package via composer:
composer require pentangle/pentangle-laravel-backup-config
Add the following disk configuration to filesystems.php
'pentangle-s3' => [
'driver' => 's3',
'key' => env('PENTANGLE_AWS_ACCESS_KEY_ID'),
'secret' => env('PENTANGLE_AWS_SECRET_ACCESS_KEY'),
'region' => env('PENTANGLE_AWS_DEFAULT_REGION'),
'bucket' => env('PENTANGLE_AWS_BUCKET'),
'url' => env('PENTANGLE_AWS_URL'),
'endpoint' => env('PENTANGLE_AWS_ENDPOINT'),
'root' => str_replace(['http://', 'https://'], '', env('APP_URL', 'example.com')),
],
Add the following service provider to config/app.php (optional)
\Pentangle\PentangleLaravelBackupConfig\PentangleLaravelBackupServiceProvider::class,
Publish the config file (optional)
php artisan vendor:publish --provider="Pentangle\PentangleLaravelBackupConfig\PentangleLaravelBackupServiceProvider"
For testing locally with s3 ensure the correct path to mysqldump is set in config/databases.php
'dump' => [
'dump_binary_path' => env('APP_ENV') === 'local' ? '/usr/local/opt/mysql-client/bin' : '/usr/bin',
],
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.