Weave Code
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

chamber-orchestra/breadcrumbs

Laravel breadcrumbs helper for Chamber Orchestra apps. Define breadcrumb trails in code, generate navigable links for pages, and keep UI navigation consistent across routes/views. Lightweight package aimed at simple breadcrumb management in PHP.

View on GitHub
Deep Wiki
Context7

Lightweight, iterable breadcrumb collection for Symfony 8 applications — implements ArrayAccess, IteratorAggregate and Countable

Frequently asked questions about Breadcrumbs
Can I use chamber-orchestra/breadcrumbs in Laravel without Symfony dependencies?
No, the package is built for Symfony 8 and relies on Symfony components like HttpFoundation and EventDispatcher. You’d need to extract the core `BreadcrumbCollection` class and wrap it in a Laravel service, but this would remove Symfony-specific features like event-driven updates.
How do I install this package in Laravel if it’s Symfony-focused?
You can’t install it directly via Composer without conflicts. Instead, manually extract the `BreadcrumbCollection` class from the package’s source and create a Laravel service to manage it. Avoid using Symfony’s dependencies in your Laravel app.
Will this package work with Laravel’s Blade templating?
No, it’s designed for Twig. You’d need to build custom Blade directives or JavaScript-based rendering to display breadcrumbs. This adds complexity and isn’t a native solution for Laravel.
Does this package support Laravel’s route-based URL generation (e.g., route('home'))?
No, it uses Symfony’s `UrlGenerator`. To integrate with Laravel, you’d have to override the URL generation logic in the `BreadcrumbCollection` to use Laravel’s `route()` or `Url::to()` helpers manually.
Is chamber-orchestra/breadcrumbs actively maintained or just a Symfony package?
The package has no recent activity or stars, suggesting it’s not actively maintained. Given its Symfony focus, it’s unlikely to receive Laravel-specific updates. Alternatives like `spatie/laravel-breadcrumbs` are better supported.
Can I use this for dynamic breadcrumbs that update based on user actions?
Only if you manually replicate Symfony’s event system in Laravel, which is complex. The package’s event-driven features (e.g., `BreadcrumbCreated` events) won’t work out-of-the-box in Laravel without significant refactoring.
What Laravel versions does this package support?
None officially. It’s designed for Symfony 8 and has no Laravel-specific versioning or compatibility guarantees. You’d need to test it thoroughly in your Laravel 8/9/10 app, assuming you bypass Symfony dependencies.
Are there better Laravel-native alternatives to this package?
Yes. Packages like `spatie/laravel-breadcrumbs` (10K+ stars) are built for Laravel, support Blade, and integrate seamlessly with Laravel’s routing and service container. They’re actively maintained and easier to implement.
How do I test this package in a Laravel project before full integration?
Extract the `BreadcrumbCollection` class into your project, mock Laravel’s `UrlGenerator`, and test the iterable functionality (e.g., `foreach`, `count()`) in isolation. Avoid testing Symfony-specific features unless you’re polyfilling them.
Will using this package in Laravel cause performance issues?
No, the core collection logic is lightweight. However, bridging Symfony/Laravel gaps (e.g., custom Blade directives, URL overrides) could introduce minor overhead. The real cost is development time, not runtime performance.
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor