spatie/menu

Html menu generator

Owned by Spatie

View on GitHub ↗Jump to charts ↓

spatie/menu has 750+ stars and 100+ forks on GitHub, is written in PHP, and was last pushed on Sep 8, 2025. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 34 minutes ago
Added to GitGenius on October 12th, 2026
Created on February 9th, 2016
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 100
Total Stargazers: 755 (+0)
Total Subscribers: 22 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 24.5 hours
Mean response time: 16.9 days
90th percentile: 32.8 days
Tracked items: 2

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Spatie Menu is a PHP package for generating HTML menus programmatically.

The package solves the problem of constructing navigation menus in web applications by providing a fluent, object-oriented interface rather than writing raw HTML. It allows developers to define menu structures in code, specifying items, links, and hierarchy, then render them as semantic HTML. The approach treats menus as first-class objects that can be built up incrementally through method chaining, making menu definitions more maintainable and less error-prone than template-based alternatives.

Developers building PHP applications who need to generate navigation menus dynamically should consider this package. It suits projects where menus are data-driven, need to be conditionally rendered, or must be reused across multiple templates. The package is particularly valuable in Laravel applications and other PHP frameworks where a programmatic approach to menu generation integrates naturally with application logic.

The project shows consistent maintenance with regular updates addressing bugs and adding refinements. Development activity demonstrates responsiveness to user feedback, with issues and pull requests being actively reviewed and merged. The codebase maintains high code quality standards and the package receives ongoing attention to keep it compatible with current PHP versions and frameworks.