2017 © Pedro Peláez
 

library laravel-ghost-database

Easily import your existing database in a ghost database, which could be useful for UnitTesting or backups etc.

image

hihaho/laravel-ghost-database

Easily import your existing database in a ghost database, which could be useful for UnitTesting or backups etc.

  • Friday, June 22, 2018
  • by RobertBoes
  • Repository
  • 2 Watchers
  • 0 Stars
  • 148 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laravel Ghost Database

Easily import your existing database in a ghost database, which could be useful for UnitTesting or backups etc., (*1)

:warning: Package in development :warning:

This package is not yet stable, you can test it by installing it, but the package may be subject to large changes before a final release, (*2)

:camera: Photoware

This package is free to use, but inspired by Spaties' Poscardware we'd love to see where where this package is being developed. A photo of an important landmark in your area would be highly appreciated., (*3)

Our email address is photoware@hihaho.com, (*4)

Installation

Simply add the following line to your composer.json and run composer update, (*5)

"hihaho/laravel-ghost-database": "v0.1.*"

Or use composer to add it with the following command, (*6)

composer require hihaho/laravel-ghost-database

Laravel Auto-Discovery

This package is automatically discovered with Laravel Auto-Discovery, if you wish to register the package yourself you can add this package to your composer.json file:, (*7)

"extra": {
    "laravel": {
        "dont-discover": [
            "hihaho/laravel-ghost-database"
        ]
    }
}

Usage

Three commands will be available with this package to easily export your current database to a "ghost" database., (*8)

  • php artisan ghost-db:export - Exports your current DB to a SQL file
  • php artisan ghost-db:import - Imports the last exported SQL file into the ghost DB
  • php artisan ghost-db:flush - Flushes the ghost DB (also happens before an import)

Change log

Please see the changelog for more information on what has changed recently., (*9)

Testing

bash $ composer test, (*10)

Contributing

Please see contributing.md for details and a todolist., (*11)

Maintainers

License

MIT. Please see the license file for more information., (*12)

The Versions

22/06 2018

dev-master

9999999-dev https://github.com/HiHaHo-Interactive-Video/laravel-ghost-database

Easily import your existing database in a ghost database, which could be useful for UnitTesting or backups etc.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel ghostdatabase

22/06 2018

v0.1.1

0.1.1.0 https://github.com/HiHaHo-Interactive-Video/laravel-ghost-database

Easily import your existing database in a ghost database, which could be useful for UnitTesting or backups etc.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel ghostdatabase

20/06 2018

v0.1.0

0.1.0.0 https://github.com/HiHaHo-Interactive-Video/laravel-ghost-database

Easily import your existing database in a ghost database, which could be useful for UnitTesting or backups etc.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel ghostdatabase