spatie / laravel-referer

Remember a visitor's original referer

Home Page:https://freek.dev/686-a-package-to-remember-a-visitors-original-referer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class 'App\Referer\RefParameter' not found

seatechdev opened this issue · comments

Laravel 7 gives the error Class 'App\Referer\RefParameter' not found

I am trying to capture

public function getReferer(Request $request): string
{
return $request->get('ref', '');
}

The error above is using up without even calling this package in a controller.

App\Referer\RefParameter is not a class provided by this package.

Is there a place where there is an implementation example with a little more detail. I have used Spatie packages in the past with a great ease but this one seems to be stumbling me.