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

ActiveProject

jameron/breadcrumbs
===================

Breadcrumb builder for Laravel and PHP applications.

1.0.7(8y ago)030MITPHP

Since Jul 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jameron/breadcrumbs)[ Packagist](https://packagist.org/packages/jameron/breadcrumbs)[ Docs](http://cjmacfarlane.com)[ RSS](/packages/jameron-breadcrumbs/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

Breadcrumb
==========

[](#breadcrumb)

I wrote this to use in Laravel applications, but kept it loosely coupled so it can be used in any PHP application. The example view file uses blade template syntax but can easily be translated to straight up php or other templating engine.

To use within Laravel:
======================

[](#to-use-within-laravel)

To install run:

`composer require jameron/breadcrumbs`

Add to config/app.php

add the service provider:

```
'providers' => [
    // ...
    Jameron\Breadcrumb\Providers\BreadcrumbServiceProvider::class,
],

```

add the facade to the aliases:

```
'aliases' => [
    // ...
    'Breadcrumb' => Jameron\Breadcrumb\Breadcrumb::class,
],

```

In your controller:

```
use Breadcrumb;
use Illuminate\Http\Request;

class ResourceController extends Controller
{

    protected $home_route;

    public function __construct()
    {
        $this->home_route = ['title'=>'home','url'=>'/home'];
    }

    public function index(Request $request)
    {

        $breadcrumb = (new Breadcrumb($request->path(), $this->home_route))->build();

        return view('resource.index', compact('breadcrumb'));

    }
}

```

Include the view partial into your layout or view file where you want the breadcrumb to appear.

E.g. @include('partials.utils.breadcrumb', \['items' =&gt; $breadcrumb\])

in your breadcrumb partial add the following:

```

    @foreach($crumbs as $item)
        @if(!$item['active'])@endif{!! $item['title'] !!}@if(!$item['active'])@endif
    @endforeach

```

License
-------

[](#license)

This breadcrumb is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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

Every ~1 days

Total

8

Last Release

3225d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1240f858b81e0d846cb4423a5ae9bea96360ae98d4e91506c9c097cfd69698e3?d=identicon)[Jameron](/maintainers/Jameron)

---

Top Contributors

[![Jameron](https://avatars.githubusercontent.com/u/2600629?v=4)](https://github.com/Jameron "Jameron (27 commits)")

---

Tags

phplaravelbreadcrumb

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tomatophp/filament-users

Manage your users with a highly customizable user resource for FilamentPHP with integration of filament-shield and filament-impersonate

90102.0k7](/packages/tomatophp-filament-users)[octw/aramex

A Library to integrate with Aramex APIs

2925.2k](/packages/octw-aramex)

PHPackages © 2026

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