{"id":18111847,"url":"https://github.com/orafaelfragoso/php-haversine-formula","last_synced_at":"2025-05-07T13:03:33.519Z","repository":{"id":4024728,"uuid":"5124799","full_name":"orafaelfragoso/php-haversine-formula","owner":"orafaelfragoso","description":"Calculates de distance between two geocode points 📌🗺","archived":false,"fork":false,"pushed_at":"2023-08-15T05:50:19.000Z","size":543,"stargazers_count":44,"open_issues_count":2,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-07T13:03:20.839Z","etag":null,"topics":["google-distance-matrix","latitude","longitude","php","php7"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orafaelfragoso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["orafaelfragoso"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"custom":null}},"created_at":"2012-07-20T15:23:38.000Z","updated_at":"2024-12-24T06:06:25.000Z","dependencies_parsed_at":"2024-06-21T05:58:35.615Z","dependency_job_id":null,"html_url":"https://github.com/orafaelfragoso/php-haversine-formula","commit_stats":{"total_commits":27,"total_committers":6,"mean_commits":4.5,"dds":"0.37037037037037035","last_synced_commit":"f36ba57d7259208612ce52985e182a24162f2054"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orafaelfragoso%2Fphp-haversine-formula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orafaelfragoso%2Fphp-haversine-formula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orafaelfragoso%2Fphp-haversine-formula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orafaelfragoso%2Fphp-haversine-formula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orafaelfragoso","download_url":"https://codeload.github.com/orafaelfragoso/php-haversine-formula/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252883227,"owners_count":21819158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-distance-matrix","latitude","longitude","php","php7"],"created_at":"2024-11-01T01:07:42.929Z","updated_at":"2025-05-07T13:03:33.467Z","avatar_url":"https://github.com/orafaelfragoso.png","language":"PHP","funding_links":["https://github.com/sponsors/orafaelfragoso"],"categories":[],"sub_categories":[],"readme":"# php-haversini-formula [![Build Status](https://travis-ci.org/orafaelfragoso/php-haversine-formula.svg?branch=master)](https://travis-ci.org/orafaelfragoso/php-haversine-formula)\n\nCalculates de distance between two geocode points 📌🗺\n\n## How to use it:\n\nInstall the library via Composer or clone the repo:\n\n`composer install rafaelfragoso/haversini-formula`\n\nAfter the installation is complete, you can load the class and start using it.\n\n```php\n\u003c?php\n\nuse Haversini\\Haversini;\n\n/*\n * Calculate distance from Rio de Janeiro to São Paulo\n * Rio: -22.906847, -43.172896\n * São Paulo: -23.550520, -46.633309\n */\nHaversini::calculate(\n    -22.906847,\n    -43.172896,\n    -23.550520,\n    -46.633309,\n    'mi' // Output length unit\n);\n```\n\n## Running tests\n\n`make test` or `make test-coverage`\n\nXDebug is required for test coverage!\n\n## Authors\n\n- [Rafael Fragoso](https://github.com/ofragoso) - *Initial work*\n- [Leonardo Carmo](https://github.com/leocarmo) - *Version 2*\n\nSee also the list of [contributors](https://github.com/orafaelfragoso/php-haversine-formula/graphs/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forafaelfragoso%2Fphp-haversine-formula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forafaelfragoso%2Fphp-haversine-formula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forafaelfragoso%2Fphp-haversine-formula/lists"}