{"id":21306579,"url":"https://github.com/benjaminhansen/arcgis-geocode","last_synced_at":"2026-03-06T07:33:03.297Z","repository":{"id":247470094,"uuid":"825992600","full_name":"benjaminhansen/arcgis-geocode","owner":"benjaminhansen","description":"A PHP library for interacting with the ArcGIS Geocode API.","archived":false,"fork":false,"pushed_at":"2025-03-18T20:41:26.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-07T13:32:05.118Z","etag":null,"topics":["api","arcgis","geocode","php","rest","suggestion","wrapper"],"latest_commit_sha":null,"homepage":"","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/benjaminhansen.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-08T22:46:32.000Z","updated_at":"2025-03-18T20:41:03.000Z","dependencies_parsed_at":"2024-07-09T00:31:51.265Z","dependency_job_id":"5bba2eaf-0805-40b4-b9ba-7c2194496c19","html_url":"https://github.com/benjaminhansen/arcgis-geocode","commit_stats":null,"previous_names":["benjaminhansen/arcgis-geocode"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/benjaminhansen/arcgis-geocode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminhansen%2Farcgis-geocode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminhansen%2Farcgis-geocode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminhansen%2Farcgis-geocode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminhansen%2Farcgis-geocode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benjaminhansen","download_url":"https://codeload.github.com/benjaminhansen/arcgis-geocode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminhansen%2Farcgis-geocode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30165641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","arcgis","geocode","php","rest","suggestion","wrapper"],"created_at":"2024-11-21T16:27:00.050Z","updated_at":"2026-03-06T07:33:03.254Z","avatar_url":"https://github.com/benjaminhansen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Library for the ArcGIS Geocode REST API\n\nProvides an intuitive interface to use the ArcGIS Geocode REST API in any PHP application.\n\n## Installation\n```\ncomposer require benjaminhansen/arcgis-geocode\n```\n\n## Usage\n```php\n\u003c?php\n\nrequire 'vendor/autoload.php';\n\nuse BenjaminHansen\\ArcGIS\\Geocode\\Api\\Suggest;\nuse BenjaminHansen\\ArcGIS\\Geocode\\Api\\FindAddressCandidates;\n\n// make a request for suggestions based on the text provided\n$suggest_request = new Suggest();\n$suggest_request-\u003elabelsAsPostalCity()-\u003etext('1600 Pennsylvania Ave. SE, Washington, DC 20003');\n\n// get the first suggestion returned\n$suggestion = $suggest_request-\u003efirst();\n\n// or get all suggestions returned\n// $suggestions = $suggest_request-\u003eall();\n\n// use a suggestion to look up coordinates, etc\n$all_candidates = $suggestion-\u003ecandidates()-\u003eall();\n$first_candidate = $suggestion-\u003ecandidates()-\u003efirst();\n$last_candidate = $suggestion-\u003ecandidates()-\u003elast();\n\n// or you can provide the text and magicKey values directly\n// $candidates_request = new FindAddressCandidates($suggestion-\u003etext, $suggestion-\u003emagicKey);\n\n// get the first candidate returned\n// $candidate = $candidates_request-\u003efirst();\n\n// get the lat/lon values from the returned object\n$latitude = $first_candidate-\u003elatitude();\n$longitude = $first_candidate-\u003elongitude();\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminhansen%2Farcgis-geocode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjaminhansen%2Farcgis-geocode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminhansen%2Farcgis-geocode/lists"}