2017 © Pedro Peláez
 

package laravel-breadcrumbs

Laravel package for displaying DB-based breadcrumbs in views

image

seka19/laravel-breadcrumbs

Laravel package for displaying DB-based breadcrumbs in views

  • Thursday, February 1, 2018
  • by Alexey Sinkevich
  • Repository
  • 1 Watchers
  • 0 Stars
  • 573 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 77 % Grown

The README.md

Laravel package for displaying breadcrumbs in views

Breadcrumbs are saving in the DB for each page by its URI parts., (*1)

Example:, (*2)

# In the View for the page with URL `http://site.com/catalog`
{{ breadcrumbs('Catalog') }}

# Will render only one breadcrumb:

Catalog

#In the page with URL `http://site.com/catalog/cars`
{{ breadcrumbs('Cars') }}

# Will render:    

Catalog / Cars

# In the page with URL `http://site.com/catalog/cars/ford`
{{ breadcrumbs('Ford') }}

# Will render:    
Catalog / Cars / Ford

Installation

composer require seka19/laravel-breadcrumbs

Customize View

By default breadcrumbs are rendering with Bootstrap-4 view., (*3)

You can publish it and customize or create your own template:, (*4)

php artisan vendor:publish --provider='Seka19\LaravelBreadcrumbs\LaravelBreadcrumbsServiceProvider' --tag='views'

Then you can put new View name as second argument:, (*5)

{{ breadcrumbs('Catalog', 'vendor.breadcrumbs.your-breadcrubms') }}

Publish config

There are only three parameters that should be obvious:, (*6)

php artisan vendor:publish --provider='Seka19\LaravelBreadcrumbs\LaravelBreadcrumbsServiceProvider' --tag='config'

The Versions

01/02 2018

dev-master

9999999-dev

Laravel package for displaying DB-based breadcrumbs in views

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Avatar Alexey Sinkevich

01/02 2018

0.8.1

0.8.1.0

Laravel package for displaying DB-based breadcrumbs in views

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Avatar Alexey Sinkevich

31/01 2018

0.8.0

0.8.0.0

Laravel package for displaying DB-based breadcrumbs in views

  Sources   Download

MIT

The Requires

 

by Avatar Alexey Sinkevich