codexshaper/laravel-menu-builder
Laravel Drag and Drop Menu Builder
2,589
93
| Install | |
|---|---|
composer require codexshaper/laravel-menu-builder |
|
| Latest Version: | v2.6 |
| PHP: | ~5.4|~5.5|5.6|^7.0|^8.0 |
| License: | MIT |
| Last Updated: | Jan 14, 2025 |
| Links: | GitHub · Packagist |
Maintainer: Codexshaper
Laravel Menu Builder
Laravel Menu Builder with VueJs and jQuery. Build your multi level menu within 5 minutes.
Demo http://demo.codexshaper.com/admin/menus
Install the Package
composer require codexshaper/laravel-menu-builder
Optional:
- If your mysql version is old then follow next steps
* Goto `app\Providers\AppServiceProvider.php` and open it in your text editor
* Add `use Illuminate\Support\Facades\Schema;` on top under namespace
* Add `Schema::defaultStringLength(191);` in your boot method
Publish Resource, Configs, Migration and Seeding Database in a single command
php artisan menu:install
run php artisan serve
To check menus go to http://127.0.0.1:8000/admin/menus . You can change admin prefix from config/menu.php
How to use Menu in your site? You can choose any one from two options
Option 1:
@extends('menu::layouts.app')
@section('content')
{{ menu('name') }}
@endsection
Option 2:
- Call Menu anywhere on your site by calling
{{ menu('name') }}or@menu('name') - Link CSS and JS if you want to use our default design
CSS: <link rel="stylesheet" type="text/css" href="{{ menu_asset('css/menu.css') }}">
JS: <script src="{{ menu_asset('js/menu.js') }}"></script>
- Optional: If you don't have jQuery and bootstrap in your page then add
app.cssbeforemenu.cssand addapp.jsbeforemenu.js
CSS: <link rel="stylesheet" type="text/css" href="{{ menu_asset('css/app.css') }}">
JS: <script src="{{ menu_asset('js/app.js') }}"></script>
Authors
See also the list of contributors who participated in this project.
License
- MIT license
- Copyright 2019 © CodexShaper.
Thanks
- Special Thanks to Voyager for awesome design concept
Related Packages
nguyendachuy/laravel-menu
Laravel Menu Builder | Drag & Drop | Bootstrap | Laravel 7 | Laravel 8 | Laravel...
2,279
16
proengsoft/laravel-jsvalidation
Validate forms transparently with Javascript reusing your Laravel Validation Rul...
2,476,565
1,141
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.6 | ~5.4| | ~5.5.40| | MIT | |
| v2.5 | ~5.4| | ~5.5.40| | MIT | |
| v2.4 | ~5.4| | ~5.5.40| | MIT | |
| v2.3 | ~5.4| | ~5.5.40| | MIT | |
| v2.2 | ~5.4| | ~5.5.40| | MIT | |
| v2.1 | ~5.4| | ~5.5.40| | MIT | |
| v2.0 | ~5.4| | ~5.5.40| | MIT | |
| v1.9 | ~5.4| | ~5.5.40| | MIT | |
| v1.8 | ~5.4| | ~5.5.40| | MIT | |
| v1.7 | ~5.4| | ~5.5.40| | MIT | |
| v1.6 | MIT | |||
| v1.5 | MIT | |||
| v1.4 | MIT | |||
| v1.3 | MIT | |||
| v1.2 | MIT | |||
| v1.1 | MIT | |||
| v1.0 | MIT |
