Open your command console, browse to your project and execute the following:
$ composer require vlabs/google-map
// config/bundles.php
public function registerBundles()
{
return array(
// ...
Vlabs\GoogleMap\GoogleMapBundle::class => ['all' => true],
);
}
# config/packages/doctrine.yaml
doctrine:
dbal:
types:
lat_lng: Vlabs\GoogleMapBundle\Utils\DoctrineType\LatLngType
lat_lng_bounds: Vlabs\GoogleMapBundle\Utils\DoctrineType\LatLngBoundsType
# config/packages/jms_serializer.yaml
jms_serializer:
handlers:
metadata:
directories:
address:
namespace_prefix: Vlabs\GoogleMapBundle
path: "@VlabsGoogleMapBundle/Resources/config/serializer"