PHPackages                             elnooronline/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. elnooronline/laravel-breadcrumbs

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

elnooronline/laravel-breadcrumbs
================================

A simple Laravel-style way to create breadcrumbs. forked from 'davejamesmiller/laravel-breadcrumbs'

6.0.0(5y ago)25.8kMITPHPPHP &gt;=7.1.3

Since May 29Pushed 5y agoCompare

[ Source](https://github.com/Elnooronline/laravel-breadcrumbs)[ Packagist](https://packagist.org/packages/elnooronline/laravel-breadcrumbs)[ Docs](https://github.com/elnooronline/laravel-breadcrumbs)[ RSS](/packages/elnooronline-laravel-breadcrumbs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (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/elnooronline/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/f5d4835d48e1213200ff02cd894c50e37a4d84e1943541b14f0bc61bde61f6fe/68747470733a2f2f706f7365722e707567782e6f72672f656c6e6f6f726f6e6c696e652f6c61726176656c2d62726561646372756d62732f762f737461626c65)](https://packagist.org/packages/elnooronline/laravel-breadcrumbs)[![Total Downloads](https://camo.githubusercontent.com/0fb8b0b39945d125c8d1ca71c069278fd313eb2cc445400c9e85cbb9199cb8e0/68747470733a2f2f706f7365722e707567782e6f72672f656c6e6f6f726f6e6c696e652f6c61726176656c2d62726561646372756d62732f646f776e6c6f616473)](https://packagist.org/packages/elnooronline/laravel-breadcrumbs)[![Monthly Downloads](https://camo.githubusercontent.com/f5bf0a05e7b0aec7eb7223816a0953705bb49242c4412f24245f2e840798d789/68747470733a2f2f706f7365722e707567782e6f72672f656c6e6f6f726f6e6c696e652f6c61726176656c2d62726561646372756d62732f642f6d6f6e74686c79)](https://packagist.org/packages/elnooronline/laravel-breadcrumbs)[![License](https://camo.githubusercontent.com/8cb858de95c8950e53e858de2f0ccb5b2b391148efbf0d7b07266569243bf498/68747470733a2f2f706f7365722e707567782e6f72672f656c6e6f6f726f6e6c696e652f6c61726176656c2d62726561646372756d62732f6c6963656e7365)](https://packagist.org/packages/elnooronline/laravel-breadcrumbs)
[![Latest Unstable Version](https://camo.githubusercontent.com/7c01bc2b7cee4b43ddd82c1e72cf42200f6f5ae81466ca0a7d64fa1ecd4f9680/68747470733a2f2f706f7365722e707567782e6f72672f656c6e6f6f726f6e6c696e652f6c61726176656c2d62726561646372756d62732f762f756e737461626c65)](https://packagist.org/packages/elnooronline/laravel-breadcrumbs)[![Build Status](https://camo.githubusercontent.com/33769ef4475e9c7582a08f7b3c7db7b59eb280f52a957a661a0041b1bcbb6651/68747470733a2f2f7472617669732d63692e636f6d2f656c6e6f6f726f6e6c696e652f6c61726176656c2d62726561646372756d62732e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/elnooronline/laravel-breadcrumbs)[![Coverage Status](https://camo.githubusercontent.com/f965b46b6951226264f574939bf94ba1c4abdd2e5f853a4a7f4e6e715f5dc466/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f656c6e6f6f726f6e6c696e652f6c61726176656c2d62726561646372756d62732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/elnooronline/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/elnooronline/laravel-breadcrumbs/tree/4.x)5.57.0+[3.x](https://github.com/elnooronline/laravel-breadcrumbs/tree/3.x)5.0 – 5.45.4+[2.x](https://github.com/elnooronline/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/elnooronline/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 elnooronline/laravel-breadcrumbs
```

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:

```
