torann/database-backup

Database backup package for Laravel.
418 3
Install
composer require torann/database-backup
Latest Version:0.1.0
PHP:>=5.5.9
License:BSD 2-Clause
Last Updated:May 29, 2018
Links: GitHub  ·  Packagist
Maintainer: torann

Database Backup

Latest Stable Version Total Downloads Patreon donate button Donate weekly to this project using Gratipay Donate to this project using Flattr Donate to this project using Paypal

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

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

634,760,849 9,707
laravel/framework

The Laravel Framework.

584,532,650 34,931
laravel/tinker

Powerful REPL for the Laravel framework.

493,838,477 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

408,553,772 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

391,429,217 4,660