acitjazz/main-menu

This is my package main-menu

v1.0.0 2025-05-28 13:32 UTC

This package is auto-updated.

Last update: 2025-05-28 13:56:25 UTC


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.