marshmallow/breadcrumb
最新稳定版本:v2.0.1
Composer 安装命令:
composer require marshmallow/breadcrumb
包简介
A package for Laravel Breadcrum usage with the ability to add some default and use your custom templating
关键字:
README 文档
README
Laravel Breadcrumb
Laravel breadcrumb is a package that will make it easy to generate breadcrumbs in your Laravel application. If you use our Seoable package as well, then it will generate the structured data json for you as well.
Installatie
composer require marshmallow/breadcrumb
Usage
Add a new crumb
To add a new crumb path you can use the breadcrumb facade.
use Marshmallow\Breadcrumb\Facades\Breadcrumb; Breadcrumb::add('Name', 'Full path (uri)', 'icon class (optional)');
Render your breadcrumbs
{!! Breadcrumb::generate() !!}
Publish
When you publish the breadcrumb package, all blade files will be available for you to change as you like.
php artisan vendor:publish --provider="Marshmallow\Breadcrumb\BreadcrumbServiceProvider"
统计信息
- 总下载量: 10.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-03-18