jybtx/active
最新稳定版本:v0.1
Composer 安装命令:
composer require jybtx/active
包简介
The helper class for Laravel applications to get active class base on current route.forked from hieu-le/active
README 文档
README
The helper class for Laravel applications to get active class base on current url.
Since version 7.0, the major version of this library will match the major version of Laravel.
| Laravel version | Active library version |
|---|---|
| >= 7.x | >= 7.x |
| 6.x | 4.x |
| 5.x | 3.x |
| 4.x | 1.x |
Installation
Require this package as your dependencies:
composer require jybtx/active
If you are using Laravel 5.5+, you do not need to manually register the ServiceProvider and Alias.
Append this line to your providers array in config/app.php
Jybtx\Active\ActiveServiceProvider::class,
Append this line to your aliases array in config/app.php
'Active' => Jybtx\Active\Facades\Active::class,
Usage
See: How to use Active
统计信息
- 总下载量: 162
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-23