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

Can't locate path: ...referer.php

opened this issue · comments

You can publish the config file with:
php artisan vendor:publish --provider="Spatie\Referer\RefererServiceProvider"
Error:
Can't locate path: </home/vagrant/code/homestead/vendor/spatie/laravel-referer/src/../resources/config/referer.php>
And:
Class 'App\Spatie\Referer\Referer' not found
And:
use Referer;
Class 'Referer' not found

In Laravel 5.4 with php 7.1

A tagged a new release that fixes this. Run composer update to pull in v1.2.1