braune-digital / geo-bundle
Geo bundle based on JJsGeoBundle
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 9
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- braune-digital/translation-base: ^1.0
- jms/serializer-bundle: ^1.0
This package is auto-updated.
Last update: 2025-01-12 01:11:24 UTC
README
Symfony Bundle providing integregation for geonames.org and administration in SonataAdmin.
Features
- Administration in SonataAdmin
- Sync Countries and Cities with Geonames.org
Requirements
- JMSSerializerBundle
- BrauneDigitalTranslationBaseBundle
- SonataAdminBundle
- DoctrineORM
Installation
Download using composer:
composer require braune-digital/geo-bundle
And enable the Bundle in your AppKernel:
public function registerBundles() { $bundles = array( ... new JMS\SerializerBundle\JMSSerializerBundle(), new Sonata\AdminBundle\SonataAdminBundle(), new BrauneDigital\TranslationBaseBundle\BrauneDigitalTranslationBaseBundle, new BrauneDigital\GeoBundle\BrauneDigitalGeoBundle(), ... );
Configuration
This Bundle needs the parameter geonames_user
, to authenticate the geonames api calls.
Extend the bundle
This Bundle relies on the Extension in the Application-Namespace. Easiset way is to use the SonataEasyExtendsBundle. Just run:
php app/console sonata:easy-extends:generate --dest=src BrauneDigitalGeoBundle
And add the extended Bundle to your Kernel:
public function registerBundles() { $bundles = array( ... new Application\BrauneDigital\GeoBundle\BrauneDigitalGeoBundle(), ... );