LaravelPackages.net
Acme Inc.
Toggle sidebar
laravel-enso/menus

Menu management for Laravel Enso

43.892
16
5.4.4
About laravel-enso/menus

laravel-enso/menus is a Laravel package for menu management for laravel enso. It currently has 16 GitHub stars and 43.892 downloads on Packagist (latest version 5.4.4). Install it with composer require laravel-enso/menus. Discover more Laravel packages by laravel-enso or browse all Laravel packages to compare alternatives.

Last updated

Menus

License Stable Downloads PHP Issues Merge Requests

Description

Menus manages Enso navigation records and menu ordering.

The package exposes CRUD, organize, table init, table data, and Excel export endpoints for system menus, and integrates with permissions and roles to control navigable routes.

It is intended to back the Enso administration screen that defines menu structure and hierarchy.

Installation

Install the package:

composer require laravel-enso/menus

Run the package migrations:

php artisan migrate

Optional publish:

php artisan vendor:publish --tag=menus-factory

Features

  • Menu CRUD endpoints.
  • Drag-and-drop style ordering endpoint.
  • Table init, table data, and Excel export endpoints.
  • Integration with permissions and roles.
  • Factories for bootstrapping menu data.

Usage

Main route group:

  • system.menus.*

The package also exposes an explicit organize action:

route('system.menus.organize');

API

HTTP routes

  • GET api/system/menus/create
  • POST api/system/menus
  • GET api/system/menus/{menu}/edit
  • PATCH api/system/menus/{menu}
  • DELETE api/system/menus/{menu}
  • PUT api/system/menus/organize
  • GET api/system/menus/initTable
  • GET api/system/menus/tableData
  • GET api/system/menus/exportExcel

Depends On

Required Enso packages:

Companion frontend package:

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

Star History Chart