ivory / google-map
Google Map API v3 integration for PHP ^8.1
Installs: 242 130
Dependents: 4
Suggesters: 0
Security: 0
Stars: 13
Watchers: 4
Forks: 185
Open Issues: 1
Requires
- php: ^8.1
- php-http/message-factory: ^1.1
- phpdocumentor/reflection-docblock: ^5.3
- symfony/event-dispatcher: ^6.4 || ^7.0
- symfony/property-access: ^6.4 || ^7.0
- symfony/serializer: ^6.4 || ^7.0
Requires (Dev)
- ext-json: *
- friendsofphp/php-cs-fixer: ^3.49
- php-http/cache-plugin: ^2.0
- php-http/guzzle7-adapter: ^1.0
- phpunit/phpunit: ^9.6.16
- phpunit/phpunit-selenium: ^9.0
- symfony/cache: ^6.4 || ^7.0
- symfony/phpunit-bridge: ^6.4 || ^7.0
Suggests
- php-http/client-implementation: Allows to use http services
- php-http/message: Allows to use http services
Replaces
- egeloen/google-map: ^2.0.2
This package is auto-updated.
Last update: 2024-11-04 19:12:09 UTC
README
Quickstart
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.