The spatie/menu package provides a fluent interface to build menus of any size in your PHP application. If you're building your app with Laravel, the spatie/laravel-menu provides some extra treats. All classes provide a human-readable, fluent interface (no array configuration). Additionally, you can opt for a more verbose and flexible syntax, or for convenience methods that cover most use cases. You can programmatically add html classes and attributes to any item in the menu, or to the menu itself. You can add id, so you can easily target some of these elements with CSS or JS. The Laravel version of the menu package adds some extras like convenience methods for generating URLs and macros.
Features
- The spatie/menu package provides a fluent interface to build menus of any size in your php application
- Human Readable, Fluent Interface
- Strong Control Over the Html Output
- Add id to elements
- Some Extra Treats for Laravel Apps
- The menu supports submenus
License
MIT LicenseFollow Html Menu Generator
Other Useful Business Software
AI-generated apps that pass security review
Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Html Menu Generator!