Download the PHP package sroutier/menu-builder without Composer

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

menu-builder

Latest Version on Packagist Build Status Coverage Status Quality Score Total Downloads

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Install

Via Composer

Declare provider

Add this declaration in the provider array of your ./config/app.php file:

Declare facade

Add this declaration in the aliases array of your './config/app.php' file:

Publish assets

You will have to publish at least the migration script, the seeding scripts and the route example, but following the instructions below:

To publish all assets, run this command:

To publish only the migrations, run this command:

To publish only the seeds, run this command:

To publish only the config, run this command:

To publish only the routes, run this command:

To publish only the views, run this command:

Setup the database

Run the migration script to create the database with this command:

Then seed the database with at least the root menu entry taken from the seed files that you published as shown in the previous section. You could also edit the published seed files to add a few basic menu entries as shown in those files. To seed the database add this line to your main database/seeds/DatabaseSeeder.php file using the code below:

Once ready, call the artisan seed command:

NOTE: If you are in a development environment and want to create a few extra menu entries, have a look at the seed file MenuBuilderDevSeeder.php that was publish along with the Prod file.

Define routes

You must define the routes that you want to use, this task can be helped by publishing the routes as shown in the previous section. This will create a file called routes-menu-builder.php in the directory app/Http containing examples of routes needed for this package. You must configure your own routes by either copying and pasting the content of the routes file, in part or in it's entirety, to your routes file app/Http/routes.php, or you could include a reference to the published file by adding a this line:

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

Contributing

Please see CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The GNU General Public License Version 3 (GPLv3). Please see License File for more information.


All versions of menu-builder with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ~5.1
php Version >=5.3.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 sroutier/menu-builder contains the following files

Loading the files please wait ....