Download the PHP package kregel/menu without Composer

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

downloads

What is it?

This is an menu generator build with Laravel and Bootstrap in mind

Demo

You can see a demo on my website

Set up

  1. composer require kregel/menu or add "kregel/menu": "dev-master" to your composer.json file.
  2. Register the service provider with your config/app.php file.

  3. Publish our config

  4. Which ever blade file is storing your current nav set up just add ONE line of code to replace your whole menu system and where ever you start your menu, just replace it with what's below.

Other frameworks will be supported at a later time, the Materialize framework is being worked on right now.

Configuration

So, now you have your menu system set up, it's recommended that you edit your configuration. How? You might ask. There's so much and it's soooo confusing that I don't know where to begin!

Well... Let me help you out here.

Brand Name

There are quite a few things that you should really change. Something like the brand.name, should be changed to your brand's name. Whether that is your business's name, your product/projects name, or your name. You don't need to use font-awesome(but you totally should).

Theme

I usually leave the theme alone; however, you can change it to what ever you want.

Items

The array within the "items" section is every element that will be located on every page whether logged in or logged out.

Login

This is enabled by default. Those elements located withing the "sign-in" section. These elements will be shown ONLY when the end user is NOT logged in.

Within the "sign-out" section, the default is actually a Dropdown menu. The title of it is "My Account", there is a divider header entitled "settings", then there is an element entitiled settings, the empty single quotes is a way for the default frameworks to differentiate between when to use the divider header and just a divider.

Custom Css Frameworks!

While it is described more below, the best way to access this is by just newing up your framework handler. That can be done by just making an anonymous function and having it return a new class.

YOU DON'T HAVE MY FRAMEWORK HOW DARE YO-

Just stop right there... Build your own framework handler!

How?

Just look below...

How can I build my own framework for this menu system? All you need to do is (somewhere) make a class that has the same methods as the class below.

Okay... Now what...?

Well... Now you can customize this how you want. I would recommend looking at the default bootstrap handler, and if you have any questions send me an email! :)

All versions of menu with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
illuminate/support Version >=5.1
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 kregel/menu contains the following files

Loading the files please wait ....