php-taxonomy / multitaxonomy-pagerfanta-twig-templates
Multitaxonomy (Twig templates for pagerfanta objects)
Installs: 164
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Requires
- symfony/twig-bundle: ^2.7 || ^3.0 || ^4.0
- white-october/pagerfanta-bundle: ^1.0
Requires (Dev)
- allocine/twigcs: ^2.0 || ^3.0
This package is auto-updated.
Last update: 2025-03-01 00:17:50 UTC
README
Multitaxonomy (Twig templates for pagerfanta objects)
Done: renamed to php-taxonomy/multitaxonomy-pagerfanta-twig-templates
- DBAL-util is not used directly in templates!
These templates are used like a library.
$c->loadFromExtension('twig', [ 'paths' => [ '%kernel.project_dir%/vendor/php-taxonomy/multitaxonomy-pagerfanta-twig-templates' => 'MultiTaxonomyDbalUtilBundle', // templates is the new directory name in Symfony 4 // '%kernel.project_dir%/vendor/php-taxonomy/multitaxonomy-dbal-util-bundle/Resources/views' => 'MultiTaxonomyDbalUtilBundle', ], ]);
- https://symfony.com/doc/current/templating/namespaced_paths.html
- https://symfony.com/blog/new-in-symfony-3-3-a-simpler-way-to-get-the-project-root-directory
- http://fabien.potencier.org/symfony4-directory-structure.html
Check syntax
With twigcs
With symfony ~framework-bundle
$ bin/console lint:twig vendor/php-taxonomy/multitaxonomy-dbal-util-pagerfanta-twig-templates/