easymvc/menu

PHP Class Menu for the EasyMVC Framework

2.0.2.0 2020-05-09 11:11 UTC

This package is auto-updated.

Last update: 2024-04-09 19:47:28 UTC


README

This is the Class Menu which is used by EasyMVC.

Installation

Install the package using composer.

composer require easymvc/menu

or by editing composer.json yourself and adding:

"require": {
    "easymvc/menu": "^1"
}

External packages

This package includes the CSS and JavaScript file from Github repository Bootstrap 4 Responsive Navbar with Multi level Dropdowns from developer BootstrapThemes.co.

If you want to use multi level Dropdowns for your Bootstrap menu, don't forget to add following lines to your twig-template:

<script src="{{ BASE_URL }}/vendor/easymvc/menu/src/js/bootstrap-4-navbar.js"></script>
<link href="{{ BASE_URL }}/vendor/easymvc/menu/src/css/bootstrap-4-navbar.css" rel="stylesheet">