torann / database-backup
Database backup package for Laravel.
0.1.0
2016-11-03 16:08 UTC
Requires
- php: >=5.5.9
- illuminate/console: ~5.0
- illuminate/support: ~5.0
- symfony/process: ~3.1
Requires (Dev)
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ^4.8
This package is auto-updated.
Last update: 2024-10-08 09:46:49 UTC
README
Uncomplicated database backup package for Laravel 5.
Installation
Composer
From the command line run:
$ composer require torann/database-backup
Laravel
Once installed you need to register the service provider with the application. Open up config/app.php
and find the providers
key.
'providers' => [ Torann\DatabaseBackup\DatabaseBackupServiceProvider::class, ]
Lumen
For Lumen register the service provider in bootstrap/app.php
.
$app->register(Torann\DatabaseBackup\DatabaseBackupServiceProvider::class);
Publish the configurations
Run this on the command line from the root of your project:
$ php artisan vendor:publish --provider="Torann\DatabaseBackup\DatabaseBackupServiceProvider" --tag=config
A configuration file will be publish to config/database-backups.php
.
Commands
php artisan db:backup
Dump the default database.
Change Log
v0.1.0
- First release