2017 © Pedro Peláez
 

package testing-database-loader

Import entire database for your own testing purposes.

image

alongal/testing-database-loader

Import entire database for your own testing purposes.

  • Tuesday, February 6, 2018
  • by Alon Gal
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Testing Database Loader

This is a simple class that loads an entire sql dump file into your required database., (*1)

How To Use

    $db = (new \alongal\ImportDb([
            'path_to_mysql_engine' => '/Applications/XAMPP/xamppfiles/bin/mysql',
            'path_to_file_to_load_folder' => realpath(__DIR__ . '/..') . '/tests/',
            'db_name' => 'test_db',
        ]))
            ->setDebugMode(false)
            ->dropDbIfExists(true)
            ->loadFile('test_db_001.sql');

Feel free to contact me: alondagal@gmail.com or @galalon2, (*2)

The Versions

06/02 2018

dev-master

9999999-dev

Import entire database for your own testing purposes.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

by Avatar Alon Gal

database testing loader testing database loader

06/02 2018

1.0.0

1.0.0.0

Import entire database for your own testing purposes.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

by Avatar Alon Gal

database testing loader testing database loader