Skip to content

bresam/ivory-google-map

 
 

Repository files navigation

README

Build

Quickstart

Packagist: ivory/google-map

composer require ivory/google-map

Symfony Bundle

Github: ivory/google-map-bundle

Packagist: ivory/google-map-bundle

composer require ivory/google-map-bundle

Contao Bundle

Github: heimrichhannot/contao-google-maps-bundle

Packagist: heimrichhannot/contao-google-maps-bundle

Overview

The Ivory Google Map project provides a Google Map integration for your PHP 7.0+ project. It allows you to manage map, controls, overlays, events & services through the Google Map API v3.

use Ivory\GoogleMap\Helper\Builder\ApiHelperBuilder;
use Ivory\GoogleMap\Helper\Builder\MapHelperBuilder;
use Ivory\GoogleMap\Map;

$map = new Map();

$mapHelper = MapHelperBuilder::create()->build();
$apiHelper = ApiHelperBuilder::create()
    ->setKey('API_KEY')
    ->build();

echo $mapHelper->render($map);
echo $apiHelper->render([$map]);

Documentation

Testing

The library is fully unit tested by PHPUnit with a code coverage close to 100%.

Contribute

We love contributors! Ivory is an open source project. If you'd like to contribute, feel free to propose a PR! You can follow the CONTRIBUTING file which will explain you how to set up the project.

License

The Ivory Google Map is under the MIT license. For the full copyright and license information, please read the LICENSE file that was distributed with this source code.

About

Maintained Google Map API v3 integration for PHP

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.9%
  • Other 0.1%