Package Data | |
---|---|
Maintainer Username: | torann |
Maintainer Contact: | torann@gmail.com (Daniel Stainback) |
Package Create Date: | 2016-11-03 |
Package Last Update: | 2018-05-29 |
Language: | PHP |
License: | BSD 2-Clause |
Last Refreshed: | 2024-11-24 15:03:03 |
Package Statistics | |
---|---|
Total Downloads: | 418 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 3 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Uncomplicated database backup package for Laravel 5.
From the command line run:
$ composer require torann/database-backup
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,
]
For Lumen register the service provider in bootstrap/app.php
.
$app->register(Torann\DatabaseBackup\DatabaseBackupServiceProvider::class);
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
.
php artisan db:backup
Dump the default database.