2017 © Pedro Peláez
 

library larasafe

Larasafe: a simple way to make backup of your laravel app

image

krato/larasafe

Larasafe: a simple way to make backup of your laravel app

  • Thursday, September 17, 2015
  • by Krato1
  • Repository
  • 1 Watchers
  • 1 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Larasafe

An easy way to make backups of you laravel app., (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

php artisan backup, (*3)

Install

  • You need to require this package as a composer dependency, so, run:, (*4)

    composer require hernandes/larasafe:dev-master, (*5)

  • After it, register the package on the $providers array on app/config/app.php, (*6)

    'providers' => array(
    
    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'Hernandes\Larasafe\LarasafeServiceProvider',
    ),
    

Configuration

  • First thing we need to use it, is publish the package config files, do it running:, (*7)

    php artisan config:publish hernandes/larasafe, (*8)

  • Now we have 3 files inside app/config/packages/hernandes/larasafe, (*9)

    • database.php, (*10)

      Where you need to setup your database connection to be used when backuping, you can also specify tables to ignore and aditional options to mysqldump command., (*11)

    • files.php, (*12)

      On files.php, you can choose what folders and files of your project need to be backed up, and some fine tune options, like what compression use., (*13)

    • targets.php, (*14)

      On targets.php, you will need to inform where you backups should be stored, supports local folders and remote servers, also, you can specify how much time backups should be preserved (rotation)., (*15)

Usage

After all this work, just run, (*16)

php artisan backup, (*17)

and be happy!, (*18)

The Versions

17/09 2015

dev-master

9999999-dev

Larasafe: a simple way to make backup of your laravel app

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Diego Hernandes

22/07 2015

1

1.0.0.0

Larasafe: a simple way to make backup of your laravel app

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Diego Hernandes

11/04 2014

0.1

0.1.0.0

Larasafe: a simple way to make backup of your laravel app

  Sources   Download

MIT

The Requires

 

by Diego Hernandes