Download the PHP package m2mtech/twig-navigation-extension without Composer
On this page you can find all versions of the php package m2mtech/twig-navigation-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download m2mtech/twig-navigation-extension
More information about m2mtech/twig-navigation-extension
Files in m2mtech/twig-navigation-extension
Package twig-navigation-extension
Short Description Twig/UX extensions for common navigation widgets for symfony.
License MIT
Homepage https://github.com/m2mtech/ux-navigation
Informations about the package twig-navigation-extension
Twig Navigation Extension
This bundle provides Twig extensions for common navigation widgets as well as their stimulus controllers wired for symfony UX.
Installation
If you are not using Flex enable the bundle:
If you want to use the bundled stimulus controllers install the Javascript dependencies and compile them:
Usage
Function | Description |
---|---|
m2mDarkModeSelector() |
Renders dark mode selector. |
m2mLanguageSelector() |
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.
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
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of twig-navigation-extension with dependencies
ext-intl Version *
symfony/dependency-injection Version ^5.4|^6.0
symfony/intl Version ^5.4|^6.0
symfony/twig-bundle Version ^5.4|^6.0