seraph / menu-bundle-2.0
Menu Bundle that allows you to create menus, and manage them easily.
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:symfony-bundle
Requires
- php: ^5.5.9 || ^7.0 || ^7.0
- doctrine/orm: ^2.6
- knplabs/knp-paginator-bundle: ^2.8
- stof/doctrine-extensions-bundle: ^1.3
- symfony/asset: ^3.4 || ^4.0
- symfony/form: ^3.4 || ^4.0
- symfony/framework-bundle: ^3.4 || ^4.0
- symfony/templating: ^3.4 || ^4.0
- symfony/twig-bundle: ^3.4 || ^4.0
- symfony/yaml: ^3.4 || ^4.0
- twig/twig: ^1.28 || ^2.0
This package is not auto-updated.
Last update: 2024-04-14 03:12:26 UTC
README
SeraphMenuBunlde is the update of Id4vMenuBundle on Symfony 4.
How it works
A Menu is a tree of MenuItems, this bundle allows the configuration of multiply menu.
All menus can have a different structure. With this bundle you can provide your own template or you can use the default template.
The default template use bootstrap 4, but you can override any parts of this to use anything else.
-
Menus :
- A Collection of MenuItem.
- A Name.
-
MenuItems :
- A label to display.
- A link go when clicked.
To read more about the using of this bundle, we invite you to check the docs
Installation
-
Install it using composer
$ composer require seraph/menu-bundle-2.0
-
Add routing of the bundle
# app/config/routes.yaml seraph_menu: resource: '@SeraphMenuBundle/Controller' type: annotation prefix: '/admin'
-
Update your database with Menu and MenuItem
$ php bin/console doctrine:schema:update --force
Documentation
You can find in this folder, how you can use the bundle :