acitjazz / main-menu
This is my package main-menu
Fund package maintenance!
AcitJazz
Requires
- php: ^8.2
- illuminate/contracts: ^10.0||^11.0||^12.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^10.0.0||^9.0.0||^8.22.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
README
Laravel - Inertia - Vue3
Support us
Installation
You can install the package via composer:
composer require acitjazz/main-menu
You can publish and run the migrations with:
php artisan vendor:publish --tag="main-menu-migrations"
php artisan migrate
or
php artisan migrate --path=vendor/acitjazz/main-menu/database/migrations
Publish the views using
php artisan vendor:publish --tag="menu-assets"
Usage
Open App\Http\Middleware\HandleInertiaRequests.php and Add
return [ ... 'menus' => MenuRepository::getByLocation('Header'), ... ];
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.