PHP Classes

Laravel Menu Class: Manage menus stored using Laravel model classes

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 44 All time: 10,815 This week: 488Up
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: 38 packages by
Country: Egypt Egypt
Age: 31
All time rank: 257626 in Egypt Egypt
Week rank: 206 Up3 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 22x

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 (8)  
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 (8)  /  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 (8)  /  src  /  database  
File Role Description
Files folder imagemigrations (2 files)

  Files folder image Files (8)  /  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 (8)  /  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 (8)  /  src  /  views  
File Role Description
  Accessible without login Plain text file section.blade.php Aux. Auxiliary script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:44
This week:0
All time:10,815
This week:488Up