php-taxonomy/multitaxonomy-doctrine-dbal-util-pagerfanta-twig-controller

Multitaxonomy for DBAL-Util persistence (controllers for pagerfanta objects and twig templates)

dev-master / 0.1.x-dev 2017-12-01 16:00 UTC

This package is auto-updated.

Last update: 2024-03-29 03:26:00 UTC


README

Multitaxonomy for DBAL-Util persistence (controllers for pagerfanta objects and twig templates)

$routes->import(
    $this->getProjectDir().'/vendor/php-taxonomy/multitaxonomy-dbal-util-pagerfanta-twig-controller/default.yml',
    '/taxonomy',
    'yaml'
);

/*
$routes->import(
    $this->getProjectDir().'/vendor/php-taxonomy/multitaxonomy-dbal-util-pagerfanta-twig-controller/MultiTaxonomyController.php',
    '/taxonomy',
    'annotation'
); // does not work!
*/

Annotation may need the controllers to be inside of a directory named Controller, like in a Symfony bundle.

TODO better model

TODO Templating: remove ".html.twig" in templates filenames

TODO PSR-7 in a long time

Icon: https://material.io/icons/#ic_label_outline