kisphp/symfony-database

Database import/export command

2.1.1 2021-10-20 10:52 UTC

This package is auto-updated.

Last update: 2024-11-05 23:07:09 UTC


README

Installation

composer require kisphp/symfony-database:~2.0

Register new bundle in AppKernel.php file in your symfony2 project

$bundles = array(
    ...
    new Kisphp\DatabaseBundle\KisphpDatabaseBundle(),
);

Usage:

Import database_name.sql file

php app/console zed:database --import

Export current database to database_name.sql file

php app/console zed:database --export

Changelog

2.0.0

  • support symfony >= 3.x
  • support php 7.1+

1.1.0

  • support symfony >= 2.8, 3.x