Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Breadcrumbs

Breadcrumbs Laravel Package

tadcka/breadcrumbs

A Laravel/PHP breadcrumbs package for defining and rendering breadcrumb trails in your application. Build hierarchical navigation from routes or custom items and output it in Blade views with a lightweight API.

View on GitHub
Deep Wiki
Context7

Breadcrumb component.

Frequently asked questions about Breadcrumbs
How do I install tadcka/breadcrumbs in Laravel?
Install it with Composer by running composer require tadcka/breadcrumbs in your Laravel project. The package is built for Laravel and should be discovered automatically; consult the repository README if your app requires manual provider registration or publishing the configuration and views.
How do I define breadcrumbs in a Laravel controller with tadcka/breadcrumbs?
In a controller, use the package's fluent breadcrumb builder to add crumbs with labels and URLs before returning the view. A typical flow is to start the trail, append each parent page, then append the current page. The exact method names and facade or helper imports are shown in the repository documentation.
How do I render breadcrumbs in a Blade template?
Render the trail in Blade using the package's Blade component or directive. The package ships publishable, overridable views, so you can match your existing template markup. If you publish the views, edit them locally without modifying vendor files.
Does tadcka/breadcrumbs support Schema.org BreadcrumbList structured data for SEO?
Yes. The package can output Schema.org BreadcrumbList structured data automatically alongside the visible breadcrumb trail. That helps search engines understand your site hierarchy and can improve breadcrumb rich results. Verify the generated markup in your page source after integrating it.
Can I build breadcrumbs from named routes?
Yes. tadcka/breadcrumbs includes route-aware helpers for building trails from named routes, so you can generate labels and URLs from your Laravel route definitions. This keeps breadcrumb definitions consistent with your application's routing and avoids hard-coded URLs where named routes are available.
How do I customize the breadcrumb separator and views?
You can configure separators, templates, and multi-level nesting through the package configuration, and publish the views to override the default markup. Publishing lets you adjust classes and structure so breadcrumbs match your existing templates without extra styling work. Keep custom view changes in your app rather than editing vendor files.
Which Laravel versions does tadcka/breadcrumbs support?
The package targets Laravel applications, but exact Laravel and PHP version constraints are defined in its composer.json. Check the repository or Packagist page for the supported version matrix before installing in older or newer Laravel projects. Running composer require will also show any compatibility conflicts.
Can I add custom data or attributes to individual breadcrumb items?
Yes. The fluent API lets you add crumbs with labels, URLs, and custom data, so you can attach attributes or metadata as needed. Your published Blade views can then read that custom data when rendering each crumb.
How do I test breadcrumbs in a Laravel application?
You can test breadcrumb output by making HTTP requests in Laravel feature tests and asserting that the expected labels, links, and structured data appear in the response. For unit-level checks, test the trail-building logic directly where your application defines crumbs. Publishable views make it easier to assert against your own markup.
Is tadcka/breadcrumbs suitable for production, and how is it maintained?
It is a lightweight package intended for normal Laravel production use, with no heavy dependencies described. Because maintenance activity and release cadence can change, review the GitHub repository, issue tracker, and latest Composer releases before adopting it for a long-lived project. For critical SEO markup, add a feature test that asserts the BreadcrumbList output.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo