Skip to content

jortiz3109/Breadcrumbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JohnDev Breadcrumbs package

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.

About

Build breadcrumbs automatically in Laravel based on your current URI

Resources

License

Stars

Watchers

Forks

Packages

No packages published