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

Active

medhamza911/laravel-breadcrumbs
===============================

00PHP

Pushed 5d agoCompare

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

READMEChangelogDependenciesVersionsUsed By (0)

Laravel Breadcrumbs 2 (for Laravel 4.x)
=======================================

[](#laravel-breadcrumbs-2-for-laravel-4x)

[![Latest Stable Version](https://camo.githubusercontent.com/9fee858dbcdffdda92d5071a4a672007a9b3d0343c650415c0f9a9db25dbf228/68747470733a2f2f706f7365722e707567782e6f72672f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732f762f737461626c652e706e67)](https://packagist.org/packages/davejamesmiller/laravel-breadcrumbs)[![Total Downloads](https://camo.githubusercontent.com/f02e1df7c64e3f42e76354c2a4a0a1afb9e998ce12f7b24e132a330ec7e4075d/68747470733a2f2f706f7365722e707567782e6f72672f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/davejamesmiller/laravel-breadcrumbs)[![Build Status](https://camo.githubusercontent.com/0cb5b9a22748b78ee1cf16c8d015ee7950c3961cab45515ed7465754f2aa9b66/68747470733a2f2f7472617669732d63692e6f72672f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/davejamesmiller/laravel-breadcrumbs)[![Coverage Status](https://camo.githubusercontent.com/ca916c7079a2d2bc3d00434f61392c5ed3d4ae99d572c0850a5c2b3463c7e8ac/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732f62616467652e706e67)](https://coveralls.io/r/davejamesmiller/laravel-breadcrumbs)[![MIT License](https://camo.githubusercontent.com/01f4f1016f8118cc7781d95da0e95029fd2c855acb6839d3ee4d0128a79355f0/68747470733a2f2f706f7365722e707567782e6f72672f646176656a616d65736d696c6c65722f6c61726176656c2d62726561646372756d62732f6c6963656e73652e737667)](https://github.com/davejamesmiller/laravel-breadcrumbs/blob/master/LICENSE.txt)

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

Installation
------------

[](#installation)

### 1. Install with Composer

[](#1-install-with-composer)

```
composer require davejamesmiller/laravel-breadcrumbs:2.*
```

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

(See the [Packagist website](https://packagist.org/packages/davejamesmiller/laravel-breadcrumbs)for a list of available version numbers and development releases.)

### 2. Add to `app/config/app.php`

[](#2-add-to-appconfigappphp)

```
    'providers' => array(
        // ...
        'DaveJamesMiller\Breadcrumbs\ServiceProvider',
    ),
```

And:

```
    'aliases' => array(
        // ...
        'Breadcrumbs' => 'DaveJamesMiller\Breadcrumbs\Facade',
    ),
```

This registers the package with Laravel and creates an alias called `Breadcrumbs`.

Usage
-----

[](#usage)

### 1. Define breadcrumbs in `app/breadcrumbs.php`

[](#1-define-breadcrumbs-in-appbreadcrumbsphp)

Create a file called `app/breadcrumbs.php` to put your breadcrumbs in. This file will be loaded automatically.

It should look something like this - see the *Defining breadcrumbs* section below for an explanation.

```
