PHPackages                             mcordingley/breadcrumbs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mcordingley/breadcrumbs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mcordingley/breadcrumbs
=======================

Laravel Helper Package for DRY Breadcrumbs

v1.0.0(7y ago)23MITPHPPHP ^7.2.0

Since May 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mcordingley/Breadcrumbs)[ Packagist](https://packagist.org/packages/mcordingley/breadcrumbs)[ RSS](/packages/mcordingley-breadcrumbs/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

Breadcrumbs
===========

[](#breadcrumbs)

[![Build Status](https://camo.githubusercontent.com/41f681d8eb730f015cb87d17075e7f25d11c7fa8469748639a813fb19942990a/68747470733a2f2f6170692e7472617669732d63692e6f72672f7265706f7369746f726965732f6d636f7264696e676c65792f42726561646372756d62732e737667)](https://travis-ci.org/mcordingley/Breadcrumbs)[![Code Climate](https://camo.githubusercontent.com/f8de760ced4b8b6ae544a88beeebefbb81af0e523782719a393f37a4d8ba6d95/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6d636f7264696e676c65792f42726561646372756d62732f6261646765732f6770612e737667)](https://codeclimate.com/github/mcordingley/Breadcrumbs)[![Code Climate](https://camo.githubusercontent.com/72f0100829aea439b8882246879c403a33fe104a2dbe8ea7e59f464f8e02d2e0/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6d636f7264696e676c65792f42726561646372756d62732f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/mcordingley/Breadcrumbs)

Installation and Configuration
------------------------------

[](#installation-and-configuration)

Breadcrumbs is a simple plugin for Laravel to DRY up your breadcrumb routes and names. Start by installing it through Composer.

```
composer require mcordingley/breadcrumbs

```

The package automatically registers its service provider and facade, so the only remaining step is to publish the configuration and sample breadcrumb definition file.

```
php artisan vendor:publish

```

This will create `config/breadcrumbs.php` and `resources/breadcrumbs.json`. If you are using the default settings, there is no need to alter the configuration file or create new entries in your .env file.

The JSON file contains your individual breadcrumb entries, with the routes as keys. Each entry must have a `title`attribute and if the page belongs under another page then it should also have a `parent` attribute with the route of the parent page. The library uses this to recursively find previous breadcrumbs from the current page.

If an entry in the JSON file contains the pattern `{foo}`, the text is replaced by a property `foo` that you pass into the breadcrumb when making it. This pattern also supports dotted notation to pull nested properties.

By default, the breadcrumbs are formatted for use with Bootstrap. If you require a different format, set `BREADCRUMBS_VIEW` in your .env file with the name of whatever view you wish to use instead.

Usage
-----

[](#usage)

Within your views, simply call `make` on the `Breadcrumb` facade with your crumb path and optionally any parameters required to format the path and title. As the output is a string and will contain HTML, you will want to use the unescaped `{!! !!}` tags to output your crumbs. All values injected into the output should already be escaped by the template view.

`{!! Breadcrumb::make('/foo/{foo.id}/edit', ['foo' => ['id' => 4, 'name' => 'Four']) !!}`

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2609d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1084253?v=4)[Michael Cordingley](/maintainers/mcordingley)[@mcordingley](https://github.com/mcordingley)

---

Top Contributors

[![mcordingley](https://avatars.githubusercontent.com/u/1084253?v=4)](https://github.com/mcordingley "mcordingley (37 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mcordingley-breadcrumbs/health.svg)

```
[![Health](https://phpackages.com/badges/mcordingley-breadcrumbs/health.svg)](https://phpackages.com/packages/mcordingley-breadcrumbs)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
