Closed arelidev closed 6 years ago
Have you added it to the config/app.php Aliases and Provider
Cornford\Googlmapper\MapperServiceProvider::class,
'Mapper' => Cornford\Googlmapper\Facades\MapperFacade::class,
Yes, I followed the instructions.
On Mon, Aug 27, 2018, 3:52 AM Chris Bowen notifications@github.com wrote:
Have you added it to the config/app.php Aliases and Provider Cornford\Googlmapper\MapperServiceProvider::class, 'Mapper' => Cornford\Googlmapper\Facades\MapperFacade::class,
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bradcornford/Googlmapper/issues/293#issuecomment-416145658, or mute the thread https://github.com/notifications/unsubscribe-auth/ANQ4x7dBNSi-McfRACTjo58EzMOBffvnks5uU6VUgaJpZM4WIHKN .
Hi there,
You can do the following:
use Cornford\Googlmapper\Facades\MapperFacade as Mapper;
Hey sorry for the delay. I tried adding use Cornford\Googlmapper\Facades\MapperFacade as Mapper;
but I'm still seeing the same error. Any other thoughts?
I found the solution to my problem here: https://github.com/bradcornford/Googlmapper/issues/29
I ran the following commands only:
php artisan cache:clear
php artisan vendor:publish --tag=googlmapper
Hey, I followed the steps in your readme but my IDE (PHPStorm) isn't recognizing the facade. Laravel is also telling me this:
View [mapper] not found.
I'm sure it's just me, but any suggestions?