PHPackages                             salmanbe/mapquest - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. salmanbe/mapquest

ActiveLibrary[API Development](/categories/api)

salmanbe/mapquest
=================

Laravel library to import latitude and longitude by address from Map Quest Api

v1.0(2y ago)039MITPHPPHP &gt;=5.6

Since Aug 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/salmanbe/mapquest)[ Packagist](https://packagist.org/packages/salmanbe/mapquest)[ RSS](/packages/salmanbe-mapquest/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Map Quest
=========

[](#map-quest)

This 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.

Video Tutorial
--------------

[](#video-tutorial)

[![Laravel MapQuest](https://camo.githubusercontent.com/470687429453397e63d6116f615d2a01ba1e811a505ed486f526b38ed74f3f48/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f6869724b4c63454a3155342f302e6a7067)](https://www.youtube.com/watch?v=hirKLcEJ1U4)

Laravel Installation
--------------------

[](#laravel-installation)

Install using composer:

```
composer require salmanbe/mapquest
```

There 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`:

```
Salmanbe\MapQuest\MapQuestServiceProvider::class,
```

You can also add it as a Facade in `config/app.php`:

```
'MapQuest' => Salmanbe\MapQuest\MapQuest::class,
```

Add 2 lines to config/app.php

```
'map_quest_url' => env('MAP_QUEST_URL', ''),
'map_quest_key' => env('MAP_QUEST_KEY', ''),
```

Add 2 lines to .env

```
MAP_QUEST_URL=https://www.mapquestapi.com/geocoding/v1/address
MAP_QUEST_KEY=your_mapquest_api_key
```

Basic Usage
-----------

[](#basic-usage)

Add `use Salmanbe\MapQuest\MapQuest;` or `use MapQuest;` at top of the class where you want to use it. Then create class instance.

```
$map = new MapQuest();
```

Set Address

```
$map->set($address);
```

Get Latitude

```
echo $map->latitude();
```

Get Longitude

```
echo $map->longitude();
```

GET Coordinates

```
echo $map->coordinates();
```

GET Status Code

```
echo $map->status();
```

Uninstall
---------

[](#uninstall)

First remove `Salmanbe\MapQuest\MapQuestServiceProvider::class,` and `'MapQuest' => Salmanbe\MapQuest\MapQuest::class,` from `config/app.php` if it was added. Then Run `composer remove salmanbe/mapquest`

License
-------

[](#license)

This library is licensed under THE MIT License. Please see [License File](https://github.com/salmanbe/mapquest/blob/master/LICENSE) for more information.

Security contact information
----------------------------

[](#security-contact-information)

To report a security vulnerability, follow [these steps](https://tidelift.com/security).

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1055d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10696759?v=4)[Salman Javaid](/maintainers/salmanbe)[@salmanbe](https://github.com/salmanbe)

---

Top Contributors

[![salmanbe](https://avatars.githubusercontent.com/u/10696759?v=4)](https://github.com/salmanbe "salmanbe (12 commits)")

---

Tags

coordinateslaravellatitudelongitudemapquest-apiphplatitudelongitudecoordinatesmap quest

### Embed Badge

![Health badge](/badges/salmanbe-mapquest/health.svg)

```
[![Health](https://phpackages.com/badges/salmanbe-mapquest/health.svg)](https://phpackages.com/packages/salmanbe-mapquest)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.6M31](/packages/league-geotools)[jcf/geocode

Google Geocoding API for Laravel

50162.8k](/packages/jcf-geocode)[anthonymartin/geo-location

Powerful GeoCoding library: Retrieve bounding box coordinates, distances between geopoints, point in polygon, get longitude and latitude from addresses and more with GeoLocation for PHP

1961.0M11](/packages/anthonymartin-geo-location)[malhal/laravel-geographical

Easily add longitude and latitude columns to your records and use inherited functionality for calculating distances

283397.2k](/packages/malhal-laravel-geographical)[1001pharmacies/geolocation-bundle

Provides an abstraction layer for geocoding services.

116.8k](/packages/1001pharmacies-geolocation-bundle)[data-values/geo

Geographical value objects, parsers and formatters

20654.5k22](/packages/data-values-geo)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
