Dynamic Menu is a Laravel-based project that facilitates the creation and management of dynamic menus in web applications. This tool allows users to easily configure menus that can adapt to various requirements and contexts within an application.
- Easy Configuration: Define menus dynamically without hardcoding.
- Role-Based Access: Customize menu items based on user roles.
- Localization Support: Easily translate menu items for different languages.
- Extensible: Integrate with other Laravel packages and customize as needed.
-
Clone the repository:
git clone https://github.com/AntonioMaggi/dynamicMenu.git cd dynamicMenu
-
Install dependencies:
composer install npm install
-
Environment setup: Copy the
.env.example
file to.env
and configure your environment variables. -
Run migrations:
php artisan migrate
-
Start the server:
php artisan serve
-
Define Menu Structure: Use the provided interface or configuration files to define the menu structure.
-
Role Management: Assign roles to users and configure menu visibility based on these roles.
-
Localization: Add translations for menu items in the
resources/lang
directory.
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.