geocoder-php / Geocoder

The most featured Geocoder library written in PHP.
https://geocoder-php.org
MIT License
3.95k stars 516 forks source link

Get installed providers list #809

Closed jbelien closed 6 years ago

jbelien commented 6 years ago

I was wondering if there is a "simple" way to get the list of all the installed providers ?

jbelien commented 6 years ago

As proposed by @Nyholm in #221 :

Maybe with Symfony autowirng

Symfony autowiring

or

PHP-DI autowiring

Nyholm commented 6 years ago

I thought the issue was posted on the GeocoderBundle repo. There is no good way to get all installed providers as far as I know.

chriscalip commented 6 years ago

Currently de-facto installed providers are done via directory /src/Provider. Until a use-able api to install providers for geocoder-php to use.. this is what we have. Comment withdrawn.

Nyholm commented 6 years ago

Closed because of inactivity.