Git Product home page Git Product logo

Comments (6)

alexpechkarev avatar alexpechkarev commented on May 17, 2024

Hi paceband,

Not sure why php artisan vendor:publish --tag=googlemaps --force wasn't working for you, please can you check Laravel version you using ?

Did you update config/app.php with Service Provider and Facade before issuing command ?

Have tested locally on Laravel Framework version 5.0.33, got following output.
Copied File [/vendor/alexpechkarev/google-maps/src/config/googlemaps.php] To [/config/googlemaps.php]
Publishing Complete!

If it didn't work for some reason, as you mentioned copy and paste is the backup plan :)
Regards,
Alexander

from google-maps.

paceband avatar paceband commented on May 17, 2024

Hi,
I use the latest 5.1 Laravel version... 5.1 vs 5.0... That might be my problem.
I might also explain why, when I you your test case, I receive this error:
Class 'GoogleMaps' not found
Any plan to migrate to 5.1? (I might do the work to make it work in 5.1)

from google-maps.

paceband avatar paceband commented on May 17, 2024

Ok... I've just found out what's going on.
Typing this command solved my issue:
php artisan config:clear
Just works great on the latest Laravel 5.1! :-)
Thanks for this great Package which will save me so much work!

from google-maps.

alexpechkarev avatar alexpechkarev commented on May 17, 2024

Many thanks for confirming paceband, glad to hear that package is useful :)
Regards,
Alex

from google-maps.

facundofarias avatar facundofarias commented on May 17, 2024

Hello @alexpechkarev,
I have Laravel 5.4 and this isn't working anymore.
Any ideas?

from google-maps.

alexpechkarev avatar alexpechkarev commented on May 17, 2024

Haven't tested with Laravel 5.4. Can you provide more details ?

from google-maps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.