A Laravel package that provides geographic distance calculations between points.
You can install the package via composer:
composer require ricorocks-digital-agency/giveaninch
Using the package is simple via the GiveAnInch
facade.
GiveAnInch::from(0, 0)->to(0, 0)->getDistance();
GiveAnInch::from(0, 0)->to(0, 0)->isWithin(10);
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.