PHP code example of mares29 / laravel-breadcrumb
1. Go to this page and download the library: Download mares29/laravel-breadcrumb library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mares29 / laravel-breadcrumb example snippets
php
'providers' => [
\Mares29\Breadcrumb\BreadcrumbServiceProvider::class,
]
'aliases' => [
'Breadcrumb' => \Mares29\Breadcrumb\Facades\BreadcrumbFacade::class,
]
php
Breadcrumb::addLink("link title", "link route");
php
{!! Breadcrumb::render() !!}
terminal
php artisan vendor:publish --provider="Mares29\Breadcrumb\BreadcrumbServiceProvider"