codeblog.pro/geo-coordinates

The package provides an entity of geographic coordinates.

v1.0.1 2020-10-06 13:17 UTC

This package is auto-updated.

Last update: 2022-11-07 14:14:35 UTC


README

Build Status Scrutinizer Code Quality Code Coverage Code Intelligence Status Total Downloads Version

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.