Answer the question
In order to leave comments, you need to log in
How to attach a third party library to Laravel?
Good day to all.
It was necessary to tie the Yandex Maps API to the Laravel backend. I don't understand how to do it right? Do you need to somehow make a facade out of it? If so, how?
This one is of particular interest. https://github.com/yandex-php/php-yandex-geo
Answer the question
In order to leave comments, you need to log in
No facades or services are needed for the most basic use.
Put any package through the composer and use it.
Composer autoload will do everything for you.
If you already need some configs, DI or a service, then it’s worth worrying about full integration.
And then, for starters, it’s better to google for at least 20 seconds to find a ready-made solution for Lara: https://github.com/thephpleague/geotools
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question