PHPackages                             cvaize/laravel-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. cvaize/laravel-breadcrumbs

ActiveLibrary

cvaize/laravel-breadcrumbs
==========================

A simple Laravel-style way to create breadcrumbs.

5.3.3(5y ago)032MITPHPPHP &gt;=7.1.3

Since May 29Pushed 5y agoCompare

[ Source](https://github.com/cvaize/laravel-breadcrumbs)[ Packagist](https://packagist.org/packages/cvaize/laravel-breadcrumbs)[ Docs](https://github.com/cvaize/laravel-breadcrumbs)[ RSS](/packages/cvaize-laravel-breadcrumbs/feed)WikiDiscussions master Synced today

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

**As of 18 April 2020, Laravel Breadcrumbs is not being maintained.**

It will probably keep working for a while - I [removed the version constraint](#v532-mon-30-dec-2019) from `composer.json`, so it will keep working until a future version of Laravel makes breaking changes.

If you want to create your own fork, to fix bugs or add new features, please see [the instructions below](#creating-a-pull-request). The [MIT license](#license) requires you to keep the copyright notice and license information, but otherwise you can do what you like with the code and documentation.

Thanks to the [contributors](https://github.com/davejamesmiller/laravel-breadcrumbs/graphs/contributors) who helped maintain it and add features over the last 7 years - I just don't have the energy for maintaining open source projects (or writing blog posts, or for social media) that I did in 2013, and I've decided it's time to focus on new projects instead.

— *Dave*

---

[![](logo.svg)](logo.svg)
Laravel Breadcrumbs
=============================================

[](#laravel-breadcrumbs)

[![Latest Stable Version](https://camo.githubusercontent.com/d031acbe1299af7360632da38167c8217ba47b28add0685742b7bac7c37c8632/68747470733a2f2f706f7365722e707567782e6f72672f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732f762f737461626c65)](https://packagist.org/packages/davejamesmiller/laravel-breadcrumbs)[![Total Downloads](https://camo.githubusercontent.com/cc5ad73d395982734e11351ba624d21a6b8dce5cdbed5ac41db972c3af09f7f6/68747470733a2f2f706f7365722e707567782e6f72672f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732f646f776e6c6f616473)](https://packagist.org/packages/davejamesmiller/laravel-breadcrumbs)[![Monthly Downloads](https://camo.githubusercontent.com/841d7e89b990e0934090b53669c195994b64cabd851a164419b17203b3bea2c0/68747470733a2f2f706f7365722e707567782e6f72672f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732f642f6d6f6e74686c79)](https://packagist.org/packages/davejamesmiller/laravel-breadcrumbs)[![License](https://camo.githubusercontent.com/f86ffedbaebc24a96417c10f182f8e31523ba1e910e8954889b61aec31ca8c45/68747470733a2f2f706f7365722e707567782e6f72672f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732f6c6963656e7365)](https://packagist.org/packages/davejamesmiller/laravel-breadcrumbs)
[![Latest Unstable Version](https://camo.githubusercontent.com/385468e3644603ba7aa41c3b4ff9074cf9d487a83d8d6f2eb8002eb9c41c1c46/68747470733a2f2f706f7365722e707567782e6f72672f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732f762f756e737461626c65)](https://packagist.org/packages/davejamesmiller/laravel-breadcrumbs)[![Build Status](https://camo.githubusercontent.com/19952b9fdfe09089712b834f5d40d7da800a1e18f97d67d46dd0632418881902/68747470733a2f2f7472617669732d63692e636f6d2f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/davejamesmiller/laravel-breadcrumbs)[![Coverage Status](https://camo.githubusercontent.com/aa38d1be7ca1ecd98af3b4d863c8ae5ef8d93bf37253b2e9c43dd3854f0d0ece/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/davejamesmiller/laravel-breadcrumbs?branch=master)

A simple [Laravel](https://laravel.com/)-style way to create breadcrumbs.

Table of Contents
-----------------

[](#table-of-contents)

- [Compatibility Chart](#compatibility-chart)
- [Getting Started](#getting-started)
- [Defining Breadcrumbs](#defining-breadcrumbs)
- [Custom Templates](#custom-templates)
- [Outputting Breadcrumbs](#outputting-breadcrumbs)
- [Structured Data](#structured-data)
- [Route-Bound Breadcrumbs](#route-bound-breadcrumbs)
- [Advanced Usage](#advanced-usage)
- [API Reference](#api-reference)
- [FAQ](#faq)
- [Troubleshooting](#troubleshooting)
- [Contributing](#contributing)
- [No Technical Support](#no-technical-support)
- [Changelog](#changelog)
- [License](#license)

Compatibility Chart
-------------------

[](#compatibility-chart)

Laravel BreadcrumbsLaravelPHP**5.3.2**5.6+7.1+5.3.0 – 5.3.15.6 – 6.x7.1+5.2.15.6 – 5.87.1+5.1.1 – 5.2.05.6 – 5.77.1+5.0.0 – 5.1.05.67.1+[4.x](https://github.com/davejamesmiller/laravel-breadcrumbs/tree/4.x)5.57.0+[3.x](https://github.com/davejamesmiller/laravel-breadcrumbs/tree/3.x)5.0 – 5.45.4+[2.x](https://github.com/davejamesmiller/laravel-breadcrumbs/tree/2.x)4.0 – 4.25.3+Getting Started
---------------

[](#getting-started)

***Note:** If you are using an older version, click it in the table above to see the documentation for that version.*

***Note 2:** If you think this documentation can be improved in any way, please [edit this file](https://github.com/davejamesmiller/laravel-breadcrumbs/edit/master/README.md) and make a pull request.*

### 1. Install Laravel Breadcrumbs

[](#1-install-laravel-breadcrumbs)

Run this at the command line:

```
composer require davejamesmiller/laravel-breadcrumbs:5.x
```

This will update `composer.json` and install the package into the `vendor/` directory.

### 2. Define your breadcrumbs

[](#2-define-your-breadcrumbs)

Create a file called `routes/breadcrumbs.php` that looks like this:

```
