https://github.com/torann/database-backup
Uncomplicated database backup package for Laravel 5.
https://github.com/torann/database-backup
Last synced: about 2 months ago
JSON representation
Uncomplicated database backup package for Laravel 5.
- Host: GitHub
- URL: https://github.com/torann/database-backup
- Owner: Torann
- License: bsd-2-clause
- Created: 2016-11-03T15:33:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-29T20:41:56.000Z (almost 7 years ago)
- Last Synced: 2025-03-21T08:34:53.611Z (2 months ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Database Backup
[](https://packagist.org/packages/torann/database-backup)
[](https://packagist.org/packages/torann/database-backup)
[](https://www.patreon.com/torann)
[](https://gratipay.com/~torann)
[](https://flattr.com/profile/torann)
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4CJA2A97NPYVU)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.
``` php
'providers' => [Torann\DatabaseBackup\DatabaseBackupServiceProvider::class,
]
```### Lumen
For Lumen register the service provider in `bootstrap/app.php`.
``` 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