PHP Classes

Laravel Menu Class: Manage menus stored using Laravel model classes

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 44 This week: 1All time: 10,758 This week: 560Up
Version License PHP version Categories
laravel-menus 1.0.0MIT/X Consortium ...5Databases, Libraries
Description 

Author

This package can Manage menus stored using Laravel model classes.

It provides a model class that can manage Laravel application menu item details like the menu item text, link URL, visibility, etc...

Another model class manages the translation of menu model title texts to allow the menus to be displayed in different languages according to the users' preferred language.

Innovation Award
PHP Programming Innovation award nominee
August 2021
Number 5
Menus are an easy way to navigate through different pages of Web applications.

When users would like to add their own personalized menus to execute functions they need frequently, a useful solution to solve that problem is to store the definition of personalized menus' structure in objects stored in a database.

This package provides model classes to store and retrieve the definition of personalized menus. If necessary, the menus may also have the text translated in multiple languages, so the application better supports users' preferences of many countries.

Manuel Lemos
Picture of Moamen Eltouny
  Performance   Level  
Name: Moamen Eltouny <contact>
Classes: 36 packages by
Country: Egypt Egypt
Age: 31
All time rank: 259926 in Egypt Egypt
Week rank: 52 Up1 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 20x

Details

<p align="center"><a href="https://pharaonic.io" target="_blank"><img src="https://raw.githubusercontent.com/Pharaonic/logos/main/menus.jpg"></a></p>

<p align="center"> <a href="https://php.net" target="_blank"><img src="https://img.shields.io/static/v1?label=PHP&message=%3E=7.2&color=blue&style=flat-square" alt="PHP Version : >= 7.2"></a> <a href="https://laravel.com" target="_blank"><img src="https://img.shields.io/static/v1?label=Laravel&message=%3E=6.0&color=F05340&style=flat-square" alt="Laravel Version : >= 6.0"></a> <img src="https://img.shields.io/static/v1?label=License&message=MIT&color=brightgreen&style=flat-square" alt="License"> <a href="https://liberapay.com/Pharaonic" target="_blank"><img src="https://img.shields.io/liberapay/receives/Pharaonic?color=gold&label=Support&style=flat-square" alt="Support"></a> <br> <a href="https://packagist.org/packages/Pharaonic/laravel-menus" target="_blank"><img src="https://img.shields.io/static/v1?label=Packagist&message=pharaonic/laravel-menus&color=blue&logo=packagist&logoColor=white" alt="Source"></a> <a href="https://packagist.org/packages/pharaonic/laravel-menus" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-menus/v" alt="Packagist Version"></a> <a href="https://packagist.org/packages/pharaonic/laravel-menus" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-menus/downloads" alt="Packagist Downloads"></a> </p>

<h3 align="center">Laravel Menus Items Management.</h3> <h5 align="center">Depends on <a href="https://pharaonic.io/package/2-laravel/16-translatable" target="_blank">Translatable</a>.</h5> <br>

Documentation

You can find the detailed documentation here in Laravel Menus Documentation.

Contributing

Thank you for considering contributing to this package! Be one of Pharaonic team.

Pharaonic Sponsors

We would like to extend our thanks to the following sponsors for funding Pharaonic packages development. If you are interested in becoming a sponsor, please visit the Pharaonic Liberapay page or Patreon page.

License

This package is an open-sourced software licensed under the MIT license.


  Files folder image Files  
File Role Description
Files folder imagesrc (1 file, 3 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imagedatabase (1 directory)
Files folder imageModels (2 files)
Files folder imageviews (1 file)
  Plain text file MenusServiceProvider.php Class Class source

  Files folder image Files  /  src  /  database  
File Role Description
Files folder imagemigrations (2 files)

  Files folder image Files  /  src  /  database  /  migrations  
File Role Description
  Plain text file 2021_02_01_000016_create_menus_table.php Class Class source
  Plain text file 2021_02_01_000017_...nslations_table.php Class Class source

  Files folder image Files  /  src  /  Models  
File Role Description
  Plain text file Menu.php Class Class source
  Plain text file MenuTranslation.php Class Class source

  Files folder image Files  /  src  /  views  
File Role Description
  Accessible without login Plain text file section.blade.php Aux. Auxiliary script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:44
This week:1
All time:10,758
This week:560Up