Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kiranal's avatar

php arstisan serve not working

I added google maps to my existing project using this package:https://github.com/bradcornford/Googlmapper

I have followed the steps for installing this package. After running all the commands, I ran below command:

php artisan vendor:publish --provider="Cornford\\Googlmapper\\MapperServiceProvider" --tag=googlmapper

After this I ran "php artisan serve", but nothing happens? I tried php artisan, but it is showing nothing. I tried running "composer dumpautoload" I tried php artisan cache:clear, and php artisan route:clear, but no result

Not sure what is the issue. Any help is greatly appreciated!!

0 likes
1 reply
bwrice's avatar

Make sure you're in the correct directory. When you run the command 'ls' from your command line, you should see an "artisan" directory, otherwise php artisan won't run.

Please or to participate in this conversation.