Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Geocoder Bundle Laravel Package

avtonom/geocoder-bundle

View on GitHub
Deep Wiki
Context7

Geocoder Sypex-geo bundle for Symfony2 bundle for PHP

Page bundle: https://github.com/Avtonom/geocoder-bundle

To Install

Run the following in your project root, assuming you have composer set up for your project


composer.phar require avtonom/geocoder-bundle ~1.1

Switching ~1.1 for the most recent tag.

Add the bundle to app/AppKernel.php


$bundles(
    ...
            new Bazinga\Bundle\GeocoderBundle\BazingaGeocoderBundle(),
            new YamilovS\SypexGeoBundle\YamilovsSypexGeoBundle(),
            new Avtonom\GeocoderBundle\AvtonomGeocoderBundle(),
    ...
);

Configuration options (config.yaml):


yamilovs_sypex_geo:
    database_path: "%kernel.root_dir%/../var/SypexGeoDatabase/SxGeoCity.dat"

bazinga_geocoder:
    providers:
        chain:
            providers: [avtonom_geocoder.geocoder.sypex_geo]

Update geo base:


php ./app/console yamilovs:sypex-geo:update-database-file
or
cd ./var/SypexGeoDatabase/
wget https://sypexgeo.net/files/SxGeoCity_utf8.zip -o  ./SxGeoCity.dat
unzip SxGeoCity_utf8.zip

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table