Download the PHP package eseperio/yii2-bigmenu-widget without Composer

On this page you can find all versions of the php package eseperio/yii2-bigmenu-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii2-bigmenu-widget

Yii2 bigmenu widget. Multilevel menu, PURE CSS

Any code contribution is welcome

Bigmenu renders a PURE CSS multilevel menu with advanced functions. It works like default nav widget, but dropdowns are pure css. It also allows large menu items loaded vía ajax using page parameter. It has no limit on levels, but be careful. A lot of levels are uncomfortable for users.

Installation

composer require eseperio/yii2-bigmenu-widget

When an item have page property and items, the first one will be available on medium-large devices meanwhile on second will be available on mobile devices.

Screenshots

How to use

This widget is based on yii/bootstrap/nav widget yii\bootstrap\nav. The main differences are:

  1. Allows infinite multilevel. For a better usability don´t use more than 3 levels.
  2. Allow render a page as a menu panel. With this you are free to make complex and advanced dropdowns menus.
  3. Render of pages in menu is made with ajax, and only one request is made per panel.

To use as simple multilevel pass an array to items property. See yii\bootstrap\nav documentation.

Dynamic panels

To use dynamic panels add to the menu item the property "page". This must be a link to the action that renders the page.

In your controller use eseperio\yii2-bigmenu\widget\BigmenuTrait. Then in your action, to render content call $this->renderBigmenu($view,$options).

Note: The trait only simplifies the task of differenciating render method, between render and renderAjax. So you can do this in your own controller if you don´t want to use traits.

Change hamburger

This widget implements Hamburgers by jonsuh. You can change the hamburger like this

Change width to enable responsive

If you want custom the with of the responsive devise, you must set the property jsOptions

Screenshots

This first screenshot shows a view rendered and loaded vía ajax automatically with this widget. Bigmenu screenshot Bigmenu screenshot Mobile friendly Bigmenu screenshot


All versions of yii2-bigmenu-widget with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package eseperio/yii2-bigmenu-widget contains the following files

Loading the files please wait ....