timgreenwood / laravel-active
The helper class for Laravel applications to get active class base on current route
v10.0.2
2023-02-15 17:34 UTC
Requires
- php: ^8.0|^8.1
- laravel/framework: ^9.0|^10.0
Requires (Dev)
- orchestra/testbench: ^7.0|^8.0
- phpunit/phpunit: ^9.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
The helper class for Laravel applications to get active class.
Since version 9.0, the major version of this library will match the major version of Laravel.
| Laravel version | Active library version |
|---|---|
| 10.x | 10.x |
| 9.x | 9.x |
Installation
Require this package as your dependencies:
composer require timgreenwood/laravel-active
Append this line to your aliases array in config/app.php
'Active' => TimGreenwood\Active\Facades\Active::class,
Changelog:
- v10.0.0 : support Laravel 10
- v9.0.0 : support Laravel 9