定制 summerblue/laravel-active 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

summerblue/laravel-active

最新稳定版本:9.0.0

Composer 安装命令:

composer require summerblue/laravel-active

包简介

The helper class for Laravel (4/5) applications to get active class base on current route

README 文档

README

Build Status Latest Stable Version Code Climate Test Coverage Total Downloads License

The helper class for Laravel applications (both L4 and L5) to get active class base on current url.

This README file is written for the new 3.x version of this package, which is compatible with the Laravel 5 only.

  • If you are using Laravel 4, see the 1.x versions.
  • If you are using Laravel 5 with the legacy 2.x version of this package, you can give a try with the 3.x version (whose API is changed totally) or continue with the 2.x version.

Installation

Require this package as your dependencies:

composer require summerblue/laravel-active

Append this line to your providers array in config/app.php

HieuLe\Active\ActiveServiceProvider::class,

Append this line to your aliases array in config/app.php

'Active' => HieuLe\Active\Facades\Active::class,

Usage

See: How to use Active

Changelog:

  • v3.5: support Laravel 5.5.x and PHPUnit 6
  • v3.4: support Laravel 5.4.x
  • v3.3: support Laravel 5.3.x
  • v3.2: allows first parameter of if_* functions to be string or array
  • v3.1: support both Laravel 5.2.x and 5.1.x
  • v3.0: new API

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 87
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-09-19