manojkiran / aktiv
Package For Handling Active Menu(s) based on routes or url or resource routes
Requires
- php: ^7.1
- illuminate/routing: ^5.7|^6.0
Requires (Dev)
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ^5.3
README
Aktiv is a Laravel Helper Plugin that helpes to set the active menus
Available Methods
isRouteActive
areRoutesActive
isResourceActive
areResourcesActive
isActivePattern
areActivePatterns
isUrlActive
areUrlsActive
Installation
Aktiv requires Laravel v 5.7 to use
From the command line:
composer require manojkiran/aktiv
Laravel 5.5+ will use the auto-discovery function.
If using 5.4 (or if you are not using auto-discovery) you will need to include the service providers / facade in config/app.php
:
'providers' => [ ..., Manojkiran\Aktiv\AktivServiceProvider::class ];
And add a facade alias to the same file at the bottom:
'aliases' => [ ..., 'Aktiv' => Manojkiran\Aktiv\Facade\AktivFacade\Aktiv::class ];
How to Use (BOOTSRAP)
How to Use in CUSTOM ACTIVE CLASS
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email manojkiran10031998@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.