承接 creitive/laravel5-breadcrumbs 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

creitive/laravel5-breadcrumbs

最新稳定版本:2.1.0

Composer 安装命令:

composer require creitive/laravel5-breadcrumbs

包简介

Breadcrumbs integration for Laravel 5

README 文档

README

Latest Stable Version Total Downloads

Laravel 5 Breadcrumbs

A simple Laravel 5-compatible breadcrumbs package. Generates Twitter Bootstrap-compatible output.

Installation

Just run this on the command line:

composer require creitive/laravel5-breadcrumbs

Laravel 5.5+ will use the auto-discovery function.

If using Laravel 5.4 (or if you don't use auto-discovery) you will need to include the service providers / facade in config/app.php.

return array(
	// ...

	'providers' => array(
		// ...

		Creitive\Breadcrumbs\BreadcrumbsServiceProvider::class,
	),

	// ...

	'aliases' => array(
		// ...

		'Breadcrumbs' => Creitive\Breadcrumbs\Facades\Breadcrumbs::class,
	),
);

You're all set!

Usage

For usage documentation, please visit the core library that this package depends on: creitive/breadcrumbs.

This particular package registers a shared instance of the breadcrumbs class, and enables you to make the calls on the provided facade, ie. instead of doing $breadcrumbs->addCrumb('Home', '/'), you can do \Breadcrumbs::addCrumb('Home', '/').

Additionally, having this as a separate package enables us to move forward with Laravel-specific features, such as having a configuration file that enables you to more cleanly customize how the package works.

Laravel 4

For Laravel 4 support, visit the creitive/laravel4-breadcrumbs package.

Laravel 6

For Laravel 6 support, visit the creitive/laravel6-breadcrumbs package.

Laravel 7+

For Laravel 7+ support, visit the creitive/laravel-breadcrumbs package.

License

The code is licensed under the MIT license, which is available in the LICENSE file.

统计信息

  • 总下载量: 243.31k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 40
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 34
  • Watchers: 10
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-07