wild-siena/google-maps-bundle

Symfony google maps bundle. Create a Google map object in php and render it with twig function.

v0.5.0 2024-09-26 18:28 UTC

README

With this symfony bundle you can render GoogleMaps in your symfony webapp.

Requirements

PHP 8.1 or higher

Symfony 6.4 or higher

Installation

Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

composer require wild-siena/google-maps-bundle

Applications that don't use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require wild-siena/google-maps-bundle

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    WildSiena\GoogleMapsBundle\WildSienaGoogleMapsBundle::class => ['all' => true],
];

If you're using WebpackEncore

Install your dependencies and restart your watcher.

npm install --force
npm run watch

# or use yarn
yarn install --force
yarn watch

Documentation

For more information see the Documentation there you find some examples.

Roadmap

See all issues there are created for version v1.0.0