spatie/menu
Fluent, extensible menu builder for Laravel. Compose navigation with a clean API, render as HTML, and customize output via presenters and macros. Supports active state handling, links, submenus, and easy integration with Blade and your app’s routing.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-menu | 0.90 | Build HTML menus in Laravel with a fluent API. Generate links from routes/actions/URLs, group items, add attributes/classes, and automatically set the active item from the current request. Extensible via macros; renders to HTML ready for Blade. | 981 | 997 | 82 | 40K | 0 | 36.7 | 26.4 | MIT | 1 month ago | |
| spatie/laravel-navigation | 0.88 | Define a navigation tree for Laravel apps and reuse it to build menus, breadcrumbs, and other nav UI. Manage sections, nested items, and active state in PHP, register navigation via service providers/container events, and render however you like. | 572 | 575 | 32 | 41K | 0 | 25.6 | 30.2 | MIT | 1 year ago | |
| spatie/url | 0.87 | Immutable URL parser/builder for PHP. Parse scheme, host, path and query, then fluently transform parts (withHost, withPath, withScheme) and manage query parameters. Supports allowed/sanitized schemes for safer URL handling. | 739 | 753 | 60 | 439K | 0 | 32.4 | 45.1 | MIT | 2 years ago | |
| spatie/once | 0.84 | A tiny PHP helper to run code only once per request. Cache expensive computations or object initialization in a single spot, keyed automatically by the call site. Great for computed properties, accessors, and avoiding duplicate work. | 1,430 | 1,437 | 61 | 272K | 0 | 34.7 | 37.1 | MIT | 4 months ago | |
| spatie/period | 0.84 | Immutable date period objects for PHP with powerful comparison tools. Create periods from any DateTime (including Carbon), then calculate overlaps, gaps, intersections, differences, containment, and other complex comparisons across two or many periods. | 1,691 | 1,694 | 76 | 129K | 0 | 39.7 | 30.7 | MIT | 3 years ago | |
| spatie/color | 0.84 | PHP library for color parsing, conversion, and comparison. Supports CSS named colors plus RGB/RGBA/ARGB, Hex, HSL/HSLA, HSB, CMYK, CIELab, and XYZ. Includes WCAG contrast ratio and Delta E distances (CIE76, CIE94, CIEDE2000). | 380 | 384 | 41 | 722K | 0 | 30.9 | 53.3 | MIT | 2 months ago | |
| spatie/fork | 0.84 | Run PHP code concurrently using lightweight process forking. Define multiple closures and execute them in parallel, collecting results in order. Requires PHP 8 with pcntl (CLI only) and posix extensions on Unix-like systems. | 1,037 | 1,036 | 104 | 174K | 0 | 34.0 | 36.2 | MIT | 1 week ago | |
| spatie/laravel-html | 0.82 | Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use. | 827 | 837 | 102 | 354K | 0 | 36.5 | 42.8 | MIT | 1 month ago |
How can I help you explore Laravel packages today?