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
Requires
- php: >=5.5.9
- laravel/framework: 5.3.*||5.4.*||5.5.*
README
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.