2017 © Pedro Peláez
 

library breadcrumbs

image

bigelephant/breadcrumbs

  • Saturday, December 15, 2012
  • by Robbo
  • Repository
  • 2 Watchers
  • 6 Stars
  • 359 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Breadcrumbs

This is designed for use within Laravel 4 which is all this readme will cover, however it could be used outside of it if you liked., (*1)

Installation

Go into your applications composer.json file and add "bigelephant/breadcrumbs": "1.0.*" to your require list and run composer update., (*2)

After this is done you can use the breadcrumbs like you would any other composer package., (*3)

Laravel Integration

So you can use a Crumbs:: facade and have some crumbs automatically set you need to add 'BigElephant\Breadcrumbs\CrumbsServiceProvider', to the providers array and 'Crumbs' => 'BigElephant\Breadcrumbs\Facades\Crumbs', to the aliases array in your config/app.php file., (*4)

There is also a custom routing class you can use which will add a crumb to your list depending on the route. With it if you add the optional title => 'Title For Crumb', in the same manner as as => 'home',. If this title is set and you use the custom Router it will set that breadcrumb for you., (*5)

Instructions for using a custom router coming soon..., (*6)

The Versions

15/12 2012

dev-master

9999999-dev

  Sources   Download

The Requires

  • php >=5.3.0

 

The Development Requires

by Robert Clancy