1
I had already inserted the Class Agent
in another project using the Laravel 4, everything was working correctly, but now that I’m trying to put in another project the Laravel is returning the error:
Symfony \ Component \ Debug \ Exception \ FatalErrorException
Class 'Jenssegers\Agent\AgentServiceProvider' not found
It says that you did not find the file being everything correct:
In the archive app/config/app.php
, I entered the lines as written in Github... Yet you’re making that mistake. Does anyone know where I might be going wrong?
installed by Composer? Did you do this? in app/config/app.php: 'Jenssegers Agent Agentserviceprovider', in app/config/app.php: 'Agent' => 'Jenssegers Agent Facades Agent',
– Daniel Lemes
@Daniellemes, I entered the files manually and changed the files as written in the
GitHub
. I did all this and in the cmd I gave onecomposer update
in the project folder...– tadeubarbosa
puts "require": { "jenssegers/agent": "*" } into your Composer.json then
– Daniel Lemes
you can try to give a dump-autoload Composer before
– Daniel Lemes
@Daniellemes, I put it this way as written in
GitHub
, better to say, I did everything the same way still it is giving this error.– tadeubarbosa