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 Bundle Laravel Package

yceruto/breadcrumbs-bundle

A lightweight Symfony bundle for defining and rendering breadcrumb navigation in PHP applications. It offers a simple API for building trails, Twig integration for templates, and customizable breadcrumb items to improve site structure and user navigation.

View on GitHub
Deep Wiki
Context7

Getting Started

Start with the package README sections covering template overrides and labels, then inspect the published config and package templates to see the default paths and label behavior. 1.0.7 is a patch-level release, so there is no new setup flow: install via Composer, rely on Laravel package discovery, and publish config/templates only when you need to customize them.

First use case: render a page/table/form using explicit human-readable labels, then override one package template in your application and confirm the override wins over the vendor template.

Minimal checklist:

  • Confirm the service provider is auto-discovered or registered as documented.
  • Publish config and templates if the package exposes publishable assets.
  • Clear caches after publishing or overriding templates: php artisan config:clear and php artisan view:clear.
  • Add one smoke test that renders a template with named labels and one overridden template.

Implementation Patterns

  • Prefer explicit named labels over numeric indexes. Pass associative arrays such as ['status' => 'Status'], or map models/collections to labels before handing data to the view. This aligns with 1.0.7’s “avoid numeric labels” change and keeps output stable.
  • Use the package’s documented template override path instead of editing vendor files. 1.0.7 moves override handling toward Symfony’s template overwriting methods, so keep overrides in the app’s published template directory and verify the resolved template path.
  • Keep overrides narrow: publish only the templates you need, leave the rest in vendor, and track overrides in version control.
  • In application code, treat labels and template names as data/config rather than hard-coded assumptions. If you build forms, tables, or exports dynamically, generate labels from field metadata or translation keys.
  • For integration work, resolve the package’s template engine/loader through Laravel’s container where possible, and extend published config rather than copying internal Symfony loader logic.
  • Upgrade workflow: run the test suite, clear view/config caches, then manually inspect screens that use custom labels or overridden templates. The 1.0.7 changes are most likely to affect output assertions and template resolution.

Gotchas and Tips

  • Numeric-label regression risk: tests or snapshots that expected 0, 1, etc. as labels may now fail or render differently. Audit form headings, table headers, select options, and export labels.
  • Do not use collection indexes as display labels. If a label is missing, add an explicit mapping or translation key rather than relying on array keys.
  • Template override precedence can be subtle. If an app override is not used, check the configured template paths, namespace, publish location, and cached compiled views.
  • Clear caches after changing templates or config, especially in production deployments: php artisan view:clear, php artisan config:clear, and rebuild any optimized caches.
  • Debug template resolution by logging or dumping the resolved template path from the package loader/engine. Also check php artisan about and the package config with php artisan config:show <package-config> if available.
  • Avoid editing vendor templates. Use publishable templates, view namespaces, or a custom loader/engine extension point instead.
  • Because 1.0.7 is a patch release, adoption risk is low, but still regression-test label output and template overrides before deploying.
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
cgv/localized-resource