2017-25 © Pedro Peláez
 

library sql-dumper

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

image

srimaln91/sql-dumper

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  • Wednesday, January 10, 2018
  • by srimaln91
  • Repository
  • 1 Watchers
  • 2 Stars
  • 336 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 12 Versions
  • 42 % Grown

The README.md

SQL Dumper

A PHP command line application to dump databases into your source code. This can be very useful if you need to version control your database along with the source code., (*1)

Getting Started

This package is available on packagist. You can use following commands to add this package into your composer dev dependancies., (*2)

composer require srimaln91/sql-dumper --dev, (*3)

Prerequisites

You need to have mysql and mysqldump binaries installed on your system. This package uses native mysql binaries to create and restore dumps., (*4)

Installing

Please follow below steps to configure this application., (*5)

composer require srimaln91/sql-dumper --dev, (*6)

Configuration

You need to create a config.yml file in your project root. Below is the default config file., (*7)

---
database:
  hostname: localhost
  database: xxxxx
  username: xxxxx
  password: xxx
  port: 3306
binaries:
  mysql: "/usr/bin/mysql"
  git: "/usr/bin/git"
directory:
  db: "/path/to/your/dump/directory/"
  ```

## How to generate a database dump

You can execute below command to create a new dump or update an existing dump directory

``` vendor/bin/application db:dump ```

### How to restore a database dump

Please use below command

vendor/bin/application db:restore ```, (*8)

Authors

See also the list of contributors who participated in this project., (*9)

License

This project is licensed under the MIT License - see the LICENSE.md file for details, (*10)

The Versions

10/01 2018

dev-master

9999999-dev

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha

03/10 2017

1.2.8

1.2.8.0

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha

02/10 2017

1.2.7

1.2.7.0

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha

02/10 2017

1.2.6

1.2.6.0

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha

02/10 2017

1.2.5

1.2.5.0

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha

30/09 2017

1.2.4

1.2.4.0

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha

30/09 2017

1.2.3

1.2.3.0

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha

29/09 2017

1.2.2

1.2.2.0

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha

29/09 2017

1.2.1

1.2.1.0

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha

29/09 2017

1.2.0

1.2.0.0

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha

29/09 2017

1.1.0

1.1.0.0

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha

29/09 2017

1.0.0

1.0.0.0

A PHP console application to execute batch of shell commands to versioning wordpress database and source code

  Sources   Download

GPL

The Requires

 

by H.M.S.Nishantha