Download the PHP package mkdesignn/menubuilder without Composer

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

Dynamic menu builder

dynamic menu builder is a quick and easy way to create your menu. I'v always wanted a way to generate a menu without recreating everything from the Base.

note, vue.js ver2 will needed for this project.

Usage

Step 1: install it through composer

Step 2: Add the Service Provider

Step 2: Add Facade class

Step 3: publish the vendor files

above command will publish menu folder which contains two files, index.js and style.css which both of them should be included and also this command will publish menu.php config file.

Examples

Create simple menu

this way we can build simple menu, as you can see render method takes 3 arguments which I describe each of them in the below.

first argument

the first argument Is the type of the menu which wants to be created. it could be vertical or horizontal.

second argument

the second argument is the table which we need to use it as a source.

The class that pass to the render method should be extended model abstract class

the table tag that has been passed to the render method has the below structure

id parent_id name slug bg_color bg_hover_color text_color text_hover_color
1 0 Php Php
2 0 Javascript Javascript
3 2 JQuery JQuery
4 2 Vue.js Vue.js
5 2 Node.js Node.js
5 1 Laravel Laravel
5 1 Symphony Symphony
5 5 Npm Npm
5 4 Vuex Vuex

as you can see in the above grid there are a bunch of fields but there are some that are not necessary to use like the bg_color, bg_hover_color, text_color, text_hover_color, but you can use each of them. this way the menu look likes much more dynamically. the field parent_id should remain parent_id .

third argument

The third argument passed to the render method, it's a class selector which we can use it to add some CSS style to the menu. If no class passed then mk_menu will be using as the default class.

fourth argument

we have the fourth argument which we can use it as configuration, the fourth argument should be an array and it'll be using for the configuration.

some of the examples

Captchas examples


All versions of menubuilder with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
illuminate/config Version ~5.1.0|~5.2.0|~5.3.0|~5.4.0
illuminate/database Version ~5.1.0|~5.2.0|~5.3.0|~5.4.0
illuminate/support Version ~5.1.0|~5.2.0|~5.3.0|~5.4.0
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 mkdesignn/menubuilder contains the following files

Loading the files please wait ....