Skip to content

Instantly share code, notes, and snippets.

View 0xShamil's full-sized avatar
🏠
Working from home

Shamil 0xShamil

🏠
Working from home
View GitHub Profile
@0xShamil
0xShamil / RouteActiveStateChecker.php
Created April 2, 2017 16:45
Add active class to bootstrap link components in Laravel 5
<?php
use Route;
/**
* Create this file in app/ directory.
* Set namespace.
* Import it in helpers.php to use the static methods
*/