src/Laravelista/Ekko/Ekko.php
public function isActiveURL($url, $output = "active")
    {
        if ($this->url->current() == $this->url->to($url)) {
            return $output;
        }

        return null;
    }
public function isActiveURL($url, $output = "active")
    {
        if ($this->url->current() == $this->url->to($url)) {
            return $output;
        }

        return null;
    }
Compares given URL with current URL.

@param  string  $url
@param  string  $output
@return boolean