egeloen / google-map
Google Map API v3 integration for PHP 5.6+
Installs: 1 097 681
Dependents: 6
Suggesters: 0
Security: 0
Stars: 324
Watchers: 35
Forks: 185
Open Issues: 49
Requires
- php: ^5.6|^7.0
- egeloen/json-builder: ^2.0|^3.0
- symfony/event-dispatcher: ^2.7|^3.0
Requires (Dev)
- egeloen/serializer: ^1.0
- friendsofphp/php-cs-fixer: ^2.0
- php-http/cache-plugin: ^1.4
- php-http/guzzle6-adapter: ^1.0
- phpunit/phpunit: ^5.4
- phpunit/phpunit-selenium: dev-master
- symfony/cache: ^3.2
- symfony/phpunit-bridge: ^2.7|^3.0
Suggests
- egeloen/serializer: Allows to use http services
- php-http/client-implementation: Allows to use http services
- php-http/message: Allows to use http services
README
Overview
The Ivory Google Map project provides a Google Map integration for your PHP 5.6+ 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
You're currently browsing the 2.x documentation, if you're using the 1.x, read this documentation instead.
Testing
The library is fully unit tested by PHPUnit with a code coverage close to 100%. To execute the test suite, check the travis configuration.
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.