{"id":19074406,"url":"https://github.com/latrell/geohash","last_synced_at":"2025-06-27T21:36:36.549Z","repository":{"id":57012675,"uuid":"27628059","full_name":"latrell/Geohash","owner":"latrell","description":"Geohash package for Laravel4.","archived":false,"fork":false,"pushed_at":"2015-03-27T06:56:44.000Z","size":159,"stargazers_count":11,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-29T17:41:13.333Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/latrell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-06T08:38:53.000Z","updated_at":"2023-05-22T11:25:56.000Z","dependencies_parsed_at":"2022-08-21T15:10:41.452Z","dependency_job_id":null,"html_url":"https://github.com/latrell/Geohash","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/latrell/Geohash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/latrell%2FGeohash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/latrell%2FGeohash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/latrell%2FGeohash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/latrell%2FGeohash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/latrell","download_url":"https://codeload.github.com/latrell/Geohash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/latrell%2FGeohash/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262337154,"owners_count":23296031,"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":[],"created_at":"2024-11-09T01:50:52.094Z","updated_at":"2025-06-27T21:36:36.518Z","avatar_url":"https://github.com/latrell.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Geohash\n======\n\nThis package geohash for Laravel 5 support.\n\n## Installation\n\n```\ncomposer require latrell/geohash dev-master\n```\n\nUpdate your packages with ```composer update``` or install with ```composer install```.\n\nFind the `providers` key in `config/app.php` and register the Geohash Service Provider.\n\n```php\n    'providers' =\u003e [\n        // ...\n        'Latrell\\Geohash\\GeohashServiceProvider',\n    ]\n```\n\nFind the aliases key in `config/app.php`.\n\n```php\n    'aliases' =\u003e [\n        // ...\n        'Geohash' =\u003e 'Latrell\\Geohash\\Facades\\Geohash',\n    ]\n```\n\n## Usage\n\nEncode a coordinate:\n\n```php\necho Geohash::encode(31.283131, 121.500831); // wtw3uyfjqw61\n```\n\nDecode a Geohash:\n\n```php\nlist($lat, $lng) = Geohash::decode('wtw3uyfjqw61');\necho $lat, ', ', $lng; // 31.283131, 121.500831\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flatrell%2Fgeohash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flatrell%2Fgeohash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flatrell%2Fgeohash/lists"}