SPATIE

Services
Our philosophy Packages Postcards Guidelines Documentation
Products Blog About
Login Work with us

Docs Menu Requirements

Other versions for crawler v3 v2 v1
    • Introduction
    • Postcardware
    • Requirements
    • Installation and Setup
    • Questions & Issues
    • Changelog
    • About Us

    Basic usage

    • Your First Menu
    • Adding Items
    • Building a menu from a data source

    Items in depth

    • Active Items
    • Manipulating Items
    • Conditionally Adding Items

    Controlling the html output

    • Item Attributes
    • Parent Attributes
    • Appending and Prepending Html
    • Non-list Menus

    Menus in your Laravel app

    • Convenience Methods
    • Views as Menu Items
    • Conditional Items Based on Permissions
    • Using Macros

    Examples

    • Bootstrap Menu

Requirements

The menu package requires PHP 7.0 or higher. The Laravel package also requires Laravel 5.1 or higher.

Postcardware
Installation and Setup
Help us improve this page
Ray

Debug your applications faster

Help us improve this page
  • Services
  • Open source
  • Products
  • Courses
AboutBlogNewsletterDocsGuidelines

Kruikstraat 22, Box 12
2018 Antwerp, Belgium
info@spatie.be
+32 3 292 56 79
  • GitHub
  • Instagram
  • LinkedIn
  • X
  • Bluesky
  • Mastodon
  • YouTube
  • Privacy
  • Disclaimer

+32 3 292 56 79

Click to call us

A good
match?

What we do best

  • All things Laravel
  • Custom frontend components
  • Building APIs
  • AI-powered features
  • Simplifying things
  • Clean solutions
  • Integrating services

Not our cup of tea

  • WordPress themes
  • Cutting corners
  • Free mockups to win a job
  • "Just execute the briefing"

In short: we'd like to be a substantial part of your project.

Get in touch via email

    Enter a search term to find results in the documentation.