Skip to content

itk-dev/database-bundle

Repository files navigation

Database bundle

A Symfony bundle with useful database stuff.

Installation

Require the bundle with composer:

composer require itk-dev/database-bundle "^1.2"

Enable the bundle:

<?php
// Symfony 2 and 3.
// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // …
        new ItkDev\DatabaseBundle\ItkDevDatabaseBundle(),
        // …
    ];
}
<?php
// Symfony 4 and 5.
// config/bundles.php

return [
    // …
    ItkDev\DatabaseBundle\ItkDevDatabaseBundle::class => ['all' => true],
    // …
];

Usage

Dump database:

bin/console itk-dev:database:dump

Open database from command line:

bin/console itk-dev:database:cli

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages