I try to migrate an existing project from laravel 4 to laravel 5.
For that I installed a fresh laravel project and import code in it.
I installed a required package in laravel 5:
composer require jenssegers/agent
When I call Agent class to use, laravel gives following error:
Class 'App\Http\Controllers\Agent' not found
What is "use ..." line to add at the top of controller? Or any other solutions?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2l834ZP
via IFTTT
Aucun commentaire:
Enregistrer un commentaire