Skip to content

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

License

Notifications You must be signed in to change notification settings

krguptaa/active

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Active for Laravel

Library is based on https://github.com/letrunghieu/active

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

We are using this package in this repository (https://github.com/viralsolani/laravel-adminpanel) as core package.

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

Installation

Require this package as your dependencies:

composer require krgupta/active

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

Krgupta\Active\Providers\ActiveServiceProvider::class,

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

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

Contribute

You can contribute to this project, by just taking fork of it. We are open for suggestion and PRs. If you have any new suggestions or anything for that matter, contact me at webworldgk@gmail.com

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages