Download the PHP package jminayat/laravel-menu without Composer

On this page you can find all versions of the php package jminayat/laravel-menu. 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 laravel-menu

JMinayaT Laravel - Menu

jminayat/modules-laravel is a package for the administration of menus in laravel. compatible with Laravel version 5.5.

Installation

Install the package through the composer.

Next, publish the package configuration file by running:

Creating a menu

For the creation of a menu, call the creation method from Menu facade. The first parameter is the name of the menu and the second parameter is the callback to define the menu items.

Make Multiple Menus

If you want to create multiple menus

Menu items

Menu Link

To create a link menu item use $menu->link()

Menu Route

If you have a rute element defined with your name, use $menu->route()

Menu Dropdown

to create a dropdown menu item use $menu->dropdown()

Menu Dropdown Multi Level

To create a drop-down menu within another drop-down menu use $item->dropdown()

Order Menu Items

You can sort the menu items in two ways, by the order number or alphabetically.

By default in the configuration file the ordering is deactivated, you can activate it directly in the configuration file or use the method $menu->activeOrder().

To set the value of the order call the method ->order().

To order alphabetically use the method $menu->setOrderBy($type).

By default, the orden function is disabled. You can enable the order function in your configuration file.

And the type of order, by default is order by number.

Rendering menu

To render the menu you can use show or get method.

Edit menu

To edit a menu already created use the edit method of the facade Menu.

To edit an item in a menu.

To edit elements of a dropdown.

Configuration

to publish the package configuration use the following command

The content of the configuration file is as follows:

aspect

These are available ready to use menu aspects.

default_aspect

set the default aspect.

ordered

Enable or disable menu item ordering for all menus.

orderBy

Set the default order type in alphabet or number.

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-menu 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 jminayat/laravel-menu contains the following files

Loading the files please wait ....