Download the PHP package manojkiran/aktiv without Composer
On this page you can find all versions of the php package manojkiran/aktiv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download manojkiran/aktiv
More information about manojkiran/aktiv
Files in manojkiran/aktiv
Package aktiv
Short Description Package For Handling Active Menu(s) based on routes or url or resource routes
License MIT
Homepage https://github.com/manojkiran/aktiv
Informations about the package aktiv
Aktiv
Aktiv is a Laravel Helper Plugin that helpes to set the active menus
Available Methods
Installation
Aktiv requires Laravel v 5.7 to use
From the command line:
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
:
And add a facade alias to the same file at the bottom:
How to Use (BOOTSRAP)
METHODS | EXAMPLES |
---|---|
isRouteActive | |
areRoutesActive | |
isResourceActive | |
areResourcesActive | |
isActivePattern | |
areActivePatterns | |
isUrlActive | |
areUrlsActive |
How to Use in
METHODS | EXAMPLES |
---|---|
isRouteActive | |
areRoutesActive | |
isResourceActive | |
areResourcesActive | |
isActivePattern | |
areActivePatterns | |
isUrlActive | |
areUrlsActive |
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 [email protected] instead of using the issue tracker.
Credits
- Manojkiran
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.