| Package Data | |
|---|---|
| Maintainer Username: | snetty |
| Maintainer Contact: | simon@mousepilot.co.uk (Simon Stevens) |
| Package Create Date: | 2015-12-07 |
| Package Last Update: | 2015-12-08 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-26 03:00:14 |
| Package Statistics | |
|---|---|
| Total Downloads: | 35 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 2 |
| Total Watchers: | 0 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
################################################################################ Laravel Simple Breadcrumbs ################################################################################
An uber simple, "collection" style way to create breadcrumbs in Laravel 5.1 <http://laravel.com/>_.
composer require snetty/laravel-simple-breadcrumbs
php artisan vendor:publish
'Snetty\LaravelSimpleBreadcrumbs\ServiceProvider' to your service providers in /config/app.php
public function index(Request $request, Breadcrumbs $breadcrumbs)
return view('sites.index', compact('sites', 'breadcrumbs'));
{!! $breadcrumbs->render() !!}
Breadcrumbs are added to your controllers like this: $breadcrumbs->add('/the/url', 'The Link Name');,
or you can add multiple at once like this: $breadcrumbs->add(['/your-url' => 'Your Title', '/another/url' => 'Another Title']);.
It is suggested that you add your index breadcrumb in the controller.