m2mtech / twig-navigation-extension

Twig extensions for common navigation widgets for symfony.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twig Navigation Extension

This package is abandoned and no longer maintained. Please use https://github.com/m2mtech/ux-navigation instead.

Author Software License


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\M2MTechTwigNavigationExtensionBundle::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.

About

Twig extensions for common navigation widgets for symfony.

License:MIT License


Languages

Language:PHP 90.5%Language:Dockerfile 5.3%Language:Shell 2.1%Language:Twig 2.0%