codeblog.pro / geo-coordinates
The package provides an entity of geographic coordinates.
v1.0.1
2020-10-06 13:17 UTC
Requires
- php: >=7.4
Requires (Dev)
- nunomaduro/phpinsights: ^1.14
- phpstan/phpstan: ^0.12.47
- phpunit/php-code-coverage: ^8.0
- phpunit/phpunit: ^9.0.0
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2024-11-07 18:48:25 UTC
README
The package provides an entity of geographic coordinates. It can be used both independently and as part of other packages.
Install
Via Composer
$ composer require codeblog.pro/geo-coordinates
Usage
$coordinates = new \CodeblogPro\GeoCoordinates\Coordinates(55.4, 43.3); echo $coordinates->getLatitude(); echo $coordinates->getLongitude(); echo $coordinates->toString();
Testing
$ composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email panov@codeblog.pro instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.