vyshkant/bibliography-bundle

Symfony VyshkantBibliographyBundle

dev-master / 0.x-dev 2017-12-21 23:41 UTC

README

Symfony VyshkantBibliographyBundle

Latest Stable Version Latest Unstable Version License Total Downloads

Install

  • Require package via composer:
composer require vyshkant/bibliography-bundle dev-master
  • Enable the bundle in your application kernel:
// app/AppKernel.php

public function registerBundles()
{
    return [
        // ...
        new Vyshkant\BibliographyBundle\VyshkantBibliographyBundle(),
        // ...
    ];
}
php bin/console sonata:easy-extends:generate VyshkantBibliographyBundle
  • Enable the new bundle in your application kernel:
// app/AppKernel.php

public function registerBundles()
{
    return [
        // ...
        new Vyshkant\BibliographyBundle\VyshkantBibliographyBundle(),
        new Application\Vyshkant\BibliographyBundle\OverriddenVyshkantBibliographyBundle(), // replace with your bundle class
        // ...
    ];
}
  • Configure model classes:
vyshkant_bibliography:
    model:
        record:
            class: Application\Vyshkant\BibliographyBundle\Entity\Record # replace with your model class
  • Update your database:
php bin/console doctrine:schema:[create|update]

or

php bin/console doctrine:migrations:diff && php bin/console doctrine:migrations:execute `php bin/console doctrine:migrations:latest`

if you are using doctrine migrations.

Support

If you think you found a bug or you have a feature idea to propose, feel free to open an issue.

License

This package is available under the MIT license.