PHPackages                             evomase/laracrumbs - 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. evomase/laracrumbs

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

evomase/laracrumbs
==================

A light way of adding breadcrumbs to a route in Laravel

113PHP

Since May 22Pushed 8y agoCompare

[ Source](https://github.com/evomase/laracrumbs)[ Packagist](https://packagist.org/packages/evomase/laracrumbs)[ RSS](/packages/evomase-laracrumbs/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laracrumbs
==========

[](#laracrumbs)

Laracrumbs is a lightweight Laravel package that provides the functionality to add [Breadcrumbs](https://en.wikipedia.org/wiki/Breadcrumb_(navigation)) to [Routes](https://laravel.com/docs/master/routing)

Requirements
------------

[](#requirements)

- PHP 7.0
- Laravel 5.4+

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

[](#installation)

To get started, install Laracrumbs via Composer

```
composer require evomase/laracrumbs
```

Next, is to register the Laracrumbs service provider to the `providers` array of your `config/app` configuration file:

```
Laracrumbs\Providers\ServiceProvider::class
```

Basic Usage
-----------

[](#basic-usage)

### Register

[](#register)

Breadcrumbs are created by using the registered routes and defining a `callback` to return the title for each segment. The following example below shows how this can be done

```
//Create Route
$route = Route::get('/', 'Controller@method');

//Add route to Breadcrumb
Breadcrumbs::add($route, function(){
    return 'Home';
});
```

All parameters assigned to a route will also be passed to the `callback` enabling you to customize the return value further. Also, objects in the service container are automatically injected in the callback as shown in the example below.

```
$route = Route::get('users/{user}/edit', 'Controller@method');
Breadcrumbs::add($route, function(App\User $user, Illuminate\Container $app){
   // return a string
});
```

### Render

[](#render)

A breadcrumbs view has been added which can be included in any view template. Once included, it will automatically generate the breadcrumbs associated to the current request.

```

    @include('laracrumbs::breadcrumbs')

```

> A copy of the breadcrumbs views template can be found in `resources\views\vendor`

License
-------

[](#license)

Laracrumbs is open-sourced software licensed under the MIT license

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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://avatars.githubusercontent.com/u/1032677?v=4)[David Ogilo](/maintainers/evomase)[@evomase](https://github.com/evomase)

---

Top Contributors

[![evomase](https://avatars.githubusercontent.com/u/1032677?v=4)](https://github.com/evomase "evomase (18 commits)")

### Embed Badge

![Health badge](/badges/evomase-laracrumbs/health.svg)

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

###  Alternatives

[gloudemans/calendar

Laravel 4 Calendar, port of the CodeIgniter Calender Library

8712.6k](/packages/gloudemans-calendar)[coldtrick/event_manager

Manage events, from a simple appointment to a multi day event with day programs and subscriptions

284.8k](/packages/coldtrick-event-manager)

PHPackages © 2026

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