2017 © Pedro Peláez
 

library breadcrumbr

Breadcrumbr, breadcrumb logic helpers.

image

nousefreak/breadcrumbr

Breadcrumbr, breadcrumb logic helpers.

  • Sunday, January 19, 2014
  • by NoUseFreak
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Breadcrumbr

Breadcrumbr, breadcrumb logic helpers., (*1)

Usage

In it's very basic form., (*2)

$breadcrumb = new \Breadcrumbr\Breadcrumb();
$breadcrumb->addCrumb(new \Breadcrumbr\Crumb\Crumb());

foreach ($breadcrumb as $crumb) {
    // Render the crumb
}

Adding resolvers., (*3)

$breadcrumb->addResolver(new EnvResolver());

// render

Adding more context to the resolvers., (*4)

$context = new \Breadcrumbr\Context\Context();
$context->addContext('menu', $menuInfo);

$breadcrumb->setContext($context);
$breadcrumb->addResolver(new MenuResolver());

// render

Contributing

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code., (*5)

Fork the project, create a feature branch, and send us a pull request., (*6)

To ensure a consistent code base, you should make sure the code follows the Coding Standards which we borrowed from Symfony. Make sure to check out php-cs-fixer as this will help you a lot., (*7)

If you would like to help take a look at the list of issues., (*8)

Requirements

PHP 5.3.2 or above, (*9)

Author and contributors

Dries De Peuter - dries@nousefreak.be - http://nousefreak.be, (*10)

See also the list of contributors who participated in this project., (*11)

License

This project is licensed under the MIT license., (*12)

The Versions

19/01 2014

1.0.0

1.0.0.0 https://github.com/nousefreak/Breadcrumbr

Breadcrumbr, breadcrumb logic helpers.

  Sources   Download

MIT

The Requires

  • php >=5.3.4

 

The Development Requires

breadcrumb breadcrumbr

19/01 2014

dev-master

9999999-dev https://github.com/nousefreak/Breadcrumbr

Breadcrumbr, breadcrumb logic helpers.

  Sources   Download

MIT

The Requires

  • php >=5.3.4

 

The Development Requires

breadcrumb breadcrumbr