johndev / breadcrumbs
Build breadcrumbs automatically in Laravel
Installs: 161
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
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.