2017 © Pedro Peláez
 

symfony-bundle breadcrumb-bundle

Fabz29BreadcrumbBundle is a Symfony Bundle created to facilitate the management of breadcrumbs in your project.

image

fabz29/breadcrumb-bundle

Fabz29BreadcrumbBundle is a Symfony Bundle created to facilitate the management of breadcrumbs in your project.

  • Friday, June 8, 2018
  • by Fabz29
  • Repository
  • 2 Watchers
  • 2 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 40 % Grown

The README.md

Fabz 29 Breadcrumb Bundle is a Symfony Bundle created to be the most simple unique way to manage breadcrumb. You don't have several option just one and just one way to do ! That's simple isn't ?, (*1)

Build Status, (*2)

Installation

Step 1 :

  • require fabz29/breadcrumb-bundle

Step 2 : Add the bundle to your AppKernel.php

``` php // config/bundles.php ... Fabz29\BreadcrumbBundle\Fabz29BreadcrumbBundle::class => ['all' => true],, (*3)


#### Step 3 : Configure the bundle ``` yaml // config/packages/fabz29_breadcrumb.yaml fabz29_breadcrumb: template: 'default/_breadcrumb.html.twig' home_route_name: 'Home' home_route: 'homepage' home_route_params: []

Step 4 [RECOMMENDED|OPTIONAL] : Overide the template

``` twig, (*4)

```, (*5)

How to use it

  • in your controller : php $breadcrumb = $this->get("fabz29_breadcrumb.breadcrumb.manager"); $breadcrumb->addItem('Settings', 'user_settings');, (*6)

  • in your twig template where the fuc* you want : twig {{ fabz29_render_breadcrumb() }}, (*7)

TODO

  • Allow GET parameters not handle by routing component

License

The bundle is developped by Fabien ZANETTI. Licence MIT, (*8)

The Versions

08/06 2018

dev-master

9999999-dev

Fabz29BreadcrumbBundle is a Symfony Bundle created to facilitate the management of breadcrumbs in your project.

  Sources   Download

MIT

The Requires

 

The Development Requires

fabz29 breadcrumb