candrianarijaona/breadcrumb

A simple breadcrumb manager

1.0.0 2016-10-18 23:42 UTC

This package is not auto-updated.

Last update: 2020-07-10 19:44:50 UTC


README

A simple php library to manage breadcrumb.

Installation

The suggested installation method is via composer:

php composer.phar require "candrianarijaona/breadcrumb:~1.0"

Usage

Here is a simple usage of the library :

$breadcrumb = new \Breadcrumb\Breadcrumb('Home');
$breadcrumb->push('Category', '/category');
$breadcrumb->push('Article', '/category/article');

print_r($breadcrumb->toArray());

Test

$> phpunit

Contributing

Feel free to share your feedback via pull requests or issues (it's very important to me).

Credits

This library is licensed under MIT Licence.