codexshaper / laravel-menu-builder
Laravel Drag and Drop Menu Builder
Installs: 2 243
Dependents: 0
Suggesters: 0
Security: 0
Stars: 92
Watchers: 8
Forks: 36
Open Issues: 28
Requires
- php: ~5.4|~5.5|5.6|~7.0|~7.1|^7.2|^7.3
- illuminate/support: ~5.5.40|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0
- dev-master
- v2.5
- v2.4
- v2.3
- v2.2
- v2.1
- v2.0
- v1.9
- v1.8
- v1.7
- v1.6
- v1.5
- v1.4
- v1.3
- v1.2
- v1.1
- v1.0
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/json5-and-laravel-mix-and-resolve-url-loader-and-sass-loader-2.2.3
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-and-express-6.11.0
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-and-webpack-cli-1.4.2
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/ws-6.2.2
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/y18n-4.0.1
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/axios-0.21.1
- dev-dependabot/npm_and_yarn/ini-1.3.8
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-analysis-4xaGkD
- dev-analysis-KZrLr3
- dev-dependabot/npm_and_yarn/jquery-3.5.0
- dev-dependabot/npm_and_yarn/acorn-6.4.1
This package is auto-updated.
Last update: 2024-11-05 02:07:57 UTC
README
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.css
beforemenu.css
and addapp.js
beforemenu.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