krgupta/active

The helper class for Laravel 6 applications to get active class base on current route
9,372 3
Install
composer require krgupta/active
Latest Version:4.0
PHP:>=7.2
License:MIT
Last Updated:Apr 22, 2024
Links: GitHub  ·  Packagist
Maintainer: krguptaa

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

Related Packages

sebastienheyd/active

Helper class for Laravel to get the active class based on the current route

19,403 0
ibrand/laravel-active

The helper class for Laravel 4 applications to get active class base on current...

16,656 3
watson/active

Laravel helper for recognising the current route, controller and action

3,906,055 324
sea-tea/hello

The helper class for Laravel 4 applications to get active class base on current...

0 0
summerblue/laravel-active

The helper class for Laravel (4/5) applications to get active class base on curr...

11,218 4