2017 © Pedro Peláez
 

library breadcrumbs

Creates a breadcrumbs path to your current location.

image

empyrean/breadcrumbs

Creates a breadcrumbs path to your current location.

  • Thursday, May 17, 2018
  • by empyreanmw
  • Repository
  • 1 Watchers
  • 1 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

breadcrumbs

This is a Laravel package that will build up a nice presentation of your current url, more known as "Breadcrumbs", (*1)

http://domain.com/admin/users/create-new-user will turn into this:, (*2)

Alt text, (*3)

Installation

Install Breadcrumbs by running:, (*4)

composer require empyrean/breadcrumbs

After that you will have to publish css files and BreadcrumbsServiceProvider by running:, (*5)

php artisan vendor:publish (this will also add a vendor/breadcrumbs/breadcrumbs.css file to you public folder)

After this just include the link to the css file on any on page you want breadcrumbs to show up if you plan on using html provided by this package., (*6)

Usage

You will be able to get your breadcrumbs in 3 different ways, (*7)

Breadcrumb::buildHtml() - this method will return full html 

Breadcrumb::buildParsedPath()->get() - this will split current url by "/" and return an array in case you want to stylelize breadcrumbs on your own. 

You can change the format of your parsedPath by calling format() method and then provding a format type like so:, (*8)

Breadcrumb::buildParsedPath()->format(new Collection)->get()

You can also request links to all pages by calling withLinks() method like so:, (*9)

Breadcrumb::buildParsedPath()->format(new Collection)->withLinks()->get()

Licence

MIT, (*10)

The Versions

17/05 2018

dev-master

9999999-dev https://github.com/empyreanmw/breadcrumbs

Creates a breadcrumbs path to your current location.

  Sources   Download

MIT

The Requires

 

by Zeljko Bogicevic

10/05 2018

2.0

2.0.0.0 https://github.com/empyreanmw/breadcrumbs

Creates a breadcrumbs path to your current location.

  Sources   Download

MIT

The Requires

 

by Zeljko Bogicevic

07/05 2018

1.3.2

1.3.2.0 https://github.com/empyreanmw/breadcrumbs

Creates a breadcrumbs path to your current location.

  Sources   Download

MIT

The Requires

 

by Zeljko Bogicevic

07/05 2018

1.3.1

1.3.1.0 https://github.com/empyreanmw/breadcrumbs

Creates a breadcrumbs path to your current location.

  Sources   Download

MIT

The Requires

 

by Zeljko Bogicevic

07/05 2018

1.3

1.3.0.0 https://github.com/empyreanmw/breadcrumbs

Creates a breadcrumbs path to your current location.

  Sources   Download

MIT

The Requires

 

by Zeljko Bogicevic

25/04 2018

1.2.2

1.2.2.0 https://github.com/empyreanmw/breadcrumbs

Creates a breadcrumbs path to your current location.

  Sources   Download

MIT

The Requires

 

by Zeljko Bogicevic

25/04 2018

1.2b

1.2.0.0-beta https://github.com/empyreanmw/breadcrumbs

Creates a breadcrumbs path to your current location.

  Sources   Download

MIT

The Requires

 

by Zeljko Bogicevic

25/04 2018

1.2.1

1.2.1.0 https://github.com/empyreanmw/breadcrumbs

Creates a breadcrumbs path to your current location.

  Sources   Download

MIT

The Requires

 

by Zeljko Bogicevic

25/04 2018

1.1

1.1.0.0 https://github.com/empyreanmw/breadcrumbs

Creates a breadcrumbs path to your current location.

  Sources   Download

MIT

The Requires

 

by Zeljko Bogicevic

23/04 2018

1.0

1.0.0.0 https://github.com/empyreanmw/breadcrumbs

Creates a breadcrumbs path to your current location.

  Sources   Download

MIT

The Requires

 

by Zeljko Bogicevic