irfanmomin / active_laravel
为Laravel 6应用程序提供的辅助类,用于根据当前路由获取活动类
4.0
2019-10-15 10:58 UTC
Requires
- php: >=7.2
- laravel/framework: ^6.0
Requires (Dev)
- orchestra/testbench: ^4.0
- phpunit/phpunit: ^8.0
This package is not auto-updated.
Last update: 2024-09-25 09:00:15 UTC
README
库基于 https://github.com/letrunghieu/active
为Laravel应用程序(L4、L5和L6)提供的辅助类,用于根据当前URL获取活动类。
我们在这个存储库中使用此包作为核心包(https://github.com/viralsolani/laravel-adminpanel)。
此README文件是为本包的新版6.x
编写的,仅兼容Laravel 6。
安装
将此包作为依赖项要求
composer require krgupta/active
将此行添加到您的config/app.php
文件中的providers
数组中
Irfan\ActiveLaravel\Providers\ActiveServiceProvider::class,
将此行添加到您的config/app.php
文件中的aliases
数组中
'Active' => Irfan\ActiveLaravel\Facades\Active::class,
贡献
您可以通过fork项目来为此项目做出贡献。我们欢迎建议和PR。如果您有任何新建议或任何其他问题,请通过webworldgk@gmail.com联系我