{"repo":"tabuna/breadcrumbs","free":true,"listed":false,"github":"https://github.com/tabuna/breadcrumbs","clone":"git clone https://github.com/tabuna/breadcrumbs.git","description":"Laravel Breadcrumbs - An easy way to add breadcrumbs to your @Laravel app.","language":"PHP","stars":422,"topics":["laravel","breadcrumb","breadcrumbs","laravel-breadcrumbs","hacktoberfest"],"license":"MIT","category":"cli-tools","readme_excerpt":"Introduction Breadcrumbs display a list of links indicating the position of the current page in the whole site hierarchy. For example, breadcrumbs like Home / Sample Post / Edit means the user is viewing an edit page for the \"Sample Post.\" He can click on \"Sample Post\" to view that page or click on \"Home\" to return to the homepage. Home / Sample Post / Edit This package for the Laravel framework will make it easy to build breadcrumbs in your application. Installation Run this at the command line: This will update composer.json and install the package into the vendor/ directory. Define your breadcrumbs Now you can define breadcrumbs directly in the route files: You may also retrieve arguments from the request. Parameters are resolved by name: Route detection The package tries to reduce the number of lines needed. For this, you can skip passing the results of the route() methods. The following two declarations will be equivalent: Like to use a separate route file? You can do this simply by adding the desired file to the service provider Then it will be your special file in the route directory: Route resource When using resources, a whole group of routes is declared for which you must specify values manually It’s better to specify this in service providers, since route files can be cached Output the breadcrumbs use Blade Component You can use the output component: To define classes of list items, you can specify: You can also pass parameters: And call named routes explicitly: Ou","default_branch":null,"files":null,"tree":[],"storefront":"/r/tabuna","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tabuna/breadcrumbs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}