PHPackages                             bad-mushroom/crumbler - 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. bad-mushroom/crumbler

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

bad-mushroom/crumbler
=====================

Breadcrumb builder for Laravel 4

09PHP

Since Apr 26Pushed 12y agoCompare

[ Source](https://github.com/bad-mushroom/Crumbler)[ Packagist](https://packagist.org/packages/bad-mushroom/crumbler)[ RSS](/packages/bad-mushroom-crumbler/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Crumbler
========

[](#crumbler)

---

Crumbler is a breadcrumb trail generator for Laravel 4.

Install
=======

[](#install)

Installation is done with composer.

Add the following to the composer.json file in your Laravel 4 project.

```
"require": {
	...
	"bad-mushroom/Crumbler": "dev-master"
},

```

Next, update Composer:

```
composer update

```

Now open `app/config/app.php` in your Laravel project to add the service provider:

```
'providers' => array(
	...
	'Badmushroom\Crumbler\CrumblerServiceProvider',
),

```

In the same file, add the facade alias:

```
'aliases' => array(
	...
	'Crumbler' => 'Badmushroom\Crumbler\Facades\Crumbler'
),

```

Use
===

[](#use)

There are two methods that you'll use.

To add a breadcrumb to your code use:

```
Crumbler::crumb('Crumb Name', 'uri');

```

To generate the HTML for the crumb trail:

```
Crumbler::build();

```

build() takes an optional string parameter for the breadcrumb separator. This can be a single character like '&gt;' or a a line of html like &lt;span class="myClass"&gt;::&lt;/span&gt;. The default is: &lt;span class="separator"&gt;/&lt;/span&gt;

As an example, in your controller file:

```
// You can add some base breadcrumbs in your constructor.
public function __construct()
{
	Crumbler::crumb('1', 'one');
	Crumbler::crumb('2', 'two');
}

public function yourMethod()
{
	Crumbler::crumb('3', 'three');
	$crumbs = Crumbler::build();

	return View::make('yourView')->with('crumbs', $crumbs);
}

```

The above example would output the following in your view:

```

	1/
	2/
	3

```

The last breadcrumb element will be considered the "active" link. You'll also want to add your own css as necessary.

License
=======

[](#license)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1a3173fa999f6045bcd8de4920098e50fbcf72e976175c9254cce938d9f0253?d=identicon)[bad-mushroom](/maintainers/bad-mushroom)

---

Top Contributors

[![bad-mushroom](https://avatars.githubusercontent.com/u/381203?v=4)](https://github.com/bad-mushroom "bad-mushroom (8 commits)")

### Embed Badge

![Health badge](/badges/bad-mushroom-crumbler/health.svg)

```
[![Health](https://phpackages.com/badges/bad-mushroom-crumbler/health.svg)](https://phpackages.com/packages/bad-mushroom-crumbler)
```

###  Alternatives

[components/jqueryui

jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.

1795.8M57](/packages/components-jqueryui)[clue/graph-composer

Dependency graph visualization for composer.json

93798.0k11](/packages/clue-graph-composer)

PHPackages © 2026

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