johndev/breadcrumbs

This package is abandoned and no longer maintained. No replacement package was suggested.

Build breadcrumbs automatically in Laravel

0.2.5 2017-08-14 21:22 UTC

This package is not auto-updated.

Last update: 2021-07-19 15:02:30 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock

This package helps you to generate the breadcrumb component for your app in Laravel

Compatibilty

This package is currently compatible with Laravel 5.3+

Instalation

Using Composer:

To install this component using composer, simply run this command on the base path of your Laravel project:

composer require johndev/breadcrumbs

or add "johndev/breadcrumbs": "^0.2.0" to your composer.json file and then run the command:

composer update

Configuration

Next, add the BreadcrumbsServiceProvider container to the Package Service Providers section in provider element on your app.php config file:

'providers' => [
    // ...
    JohnDev\Breadcrumbs\BreadcrumbsServiceProvider::class,
    // ...
],

Facades

Finally add to aliases element in your app.php config file:

'Breadcrumbs' => JohnDev\Breadcrumbs\Facades\Breadcrumbs::class,

Usage

Simply call the function Breadcrumbs::render() in apropiate section on your layout template or view.