{"id":23772174,"url":"https://github.com/salmanbe/mapquest","last_synced_at":"2025-08-04T15:39:56.393Z","repository":{"id":187549407,"uuid":"677191629","full_name":"salmanbe/mapquest","owner":"salmanbe","description":"This easy to use library imports latitude, longitude coordinates from Map Quest API.","archived":false,"fork":false,"pushed_at":"2023-08-16T13:42:48.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-31T04:08:53.588Z","etag":null,"topics":["coordinates","laravel","latitude","longitude","mapquest-api","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salmanbe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-11T01:04:39.000Z","updated_at":"2023-08-13T14:34:59.000Z","dependencies_parsed_at":"2023-08-11T03:12:55.416Z","dependency_job_id":null,"html_url":"https://github.com/salmanbe/mapquest","commit_stats":null,"previous_names":["salmanbe/mapquest"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanbe%2Fmapquest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanbe%2Fmapquest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanbe%2Fmapquest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanbe%2Fmapquest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salmanbe","download_url":"https://codeload.github.com/salmanbe/mapquest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239958311,"owners_count":19724926,"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":["coordinates","laravel","latitude","longitude","mapquest-api","php"],"created_at":"2025-01-01T04:53:29.520Z","updated_at":"2025-02-21T05:13:07.323Z","avatar_url":"https://github.com/salmanbe.png","language":"PHP","readme":"Map Quest\n====\nThis easy to use library imports latitude, longitude coordinates from Map Quest API. You must go to [developer.mapquest.com](https://developer.mapquest.com/) to register and acquire an API key to use with this library. Please note that neither this laravel library is made on behalf of Map Quest nor developer is acting on behalf of Map Quest. There is no coorporation between Map Quest and this library. Map Quest is not responsible for this library. Map Quest API credit goes to Map Quest.\n\nVideo Tutorial\n-------\n[![Laravel MapQuest](https://img.youtube.com/vi/hirKLcEJ1U4/0.jpg)](https://www.youtube.com/watch?v=hirKLcEJ1U4)\n\nLaravel Installation\n-------\nInstall using composer:\n\n```bash\ncomposer require salmanbe/mapquest\n```\n\nThere is a service provider included for integration with the Laravel framework. This service should automatically be registered else to register the service provider, add the following to the providers array in `config/app.php`:\n\n```php\nSalmanbe\\MapQuest\\MapQuestServiceProvider::class,\n```\nYou can also add it as a Facade in `config/app.php`:\n```php\n'MapQuest' =\u003e Salmanbe\\MapQuest\\MapQuest::class,\n```\nAdd 2 lines to config/app.php\n```php\n'map_quest_url' =\u003e env('MAP_QUEST_URL', ''),\n'map_quest_key' =\u003e env('MAP_QUEST_KEY', ''),\n```\n\nAdd 2 lines to .env\n```php\nMAP_QUEST_URL=https://www.mapquestapi.com/geocoding/v1/address\nMAP_QUEST_KEY=your_mapquest_api_key\n```\n\nBasic Usage\n-----\n\nAdd `use Salmanbe\\MapQuest\\MapQuest;` or `use MapQuest;` at top of the class where you want to use it. Then create class instance.\n\n```php\n$map = new MapQuest();\n```\nSet Address\n```php\n$map-\u003eset($address);\n```\nGet Latitude\n```php\necho $map-\u003elatitude();\n```\nGet Longitude\n```php\necho $map-\u003elongitude();\n```\nGET Coordinates\n```php\necho $map-\u003ecoordinates();\n```\nGET Status Code\n```php\necho $map-\u003estatus();\n```\n\nUninstall\n-----\nFirst remove `Salmanbe\\MapQuest\\MapQuestServiceProvider::class,` and \n`'MapQuest' =\u003e Salmanbe\\MapQuest\\MapQuest::class,` from `config/app.php` if it was added.\nThen Run `composer remove salmanbe/mapquest` \n\n## License\n\nThis library is licensed under THE MIT License. Please see [License File](https://github.com/salmanbe/mapquest/blob/master/LICENSE) for more information.\n\n## Security contact information\n\nTo report a security vulnerability, follow [these steps](https://tidelift.com/security).\n","funding_links":["https://tidelift.com/security"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalmanbe%2Fmapquest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalmanbe%2Fmapquest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalmanbe%2Fmapquest/lists"}