Twig Navigation Extension
This bundle provides a Twig extensions for common navigation widgets.
Installation
composer require m2mtech/twig-navigation-extension
If you are not using Flex enable the bundle:
// config/bundles.php
return [
// ...
M2MTech\TwigNavigationExtension\M2MTwigNavigationExtensionBundle::class => ['all' => true],
];
Usage
Function | Description |
---|---|
languageSelector() |
Renders links from the current path to switch languages. |
Documentation can be found in the ./docs directory.
Testing
This package has been developed for php 7.4 with compatibility tested for php 7.2 to 8.1.
composer test
Changelog
Please see CHANGELOG for more information about recent changes.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.