PHPackages                             linuskohl/org-locationiq - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. linuskohl/org-locationiq

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

linuskohl/org-locationiq
========================

2211PHP

Since May 14Pushed 9y ago2 watchersCompare

[ Source](https://github.com/linuskohl/org-locationiq)[ Packagist](https://packagist.org/packages/linuskohl/org-locationiq)[ RSS](/packages/linuskohl-org-locationiq/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (1)

org-locationiq
==============

[](#org-locationiq)

Unofficial Locationiq.org API client

Documentation available [here](https://locationiq.org/?#docs).
Able to serialize responses to custom models via JSON mapper.

Requirements
------------

[](#requirements)

- "guzzlehttp/guzzle": "^6.2"
- "netresearch/jsonmapper": "~1.1.1"

Install
-------

[](#install)

Via Composer

```
$ composer require linuskohl/org-locationiq dev-master
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Documentation
-------------

[](#documentation)

### Class: \\linuskohl\\orgLocationIQ\\Client

[](#class-linuskohlorglocationiqclient)

VisibilityFunctionpublic**\_\_construct(***mixed* **$api\_key=null**) : *void*
*Constructor*public**geocode(***string* **$query**, *bool/boolean* **$cached=false**) : *\\linuskohl\\orgLocationIQ\\models\\Entry\[\]/null*
*Geocode*public**geocodeRaw(***string* **$query**, *bool* **$cached=false**) : *mixed/null*
*Geocode raw*public**getBalance()** : *integer*
*Get balance*public**getBalanceRaw()** : *mixed/null*
*Get balance*public**setAPIKey(***string* **$api\_key**) : *void*
*Set API key*public**setCache(***mixed* **$cache**) : *void*
*Set cache*public**setLanguage(***string* **$language**) : *void*
*Set language*public**setShowDetails(***boolean* **$details**) : *void*
*Show address details*protected static**generateCacheKey(***string* **$url**, *mixed* **$parameters**) : *string*
*Generate a key to cache the query*protected**get(***string* **$url**, *array/mixed\[\]* **$parameters=array()**, *bool/boolean* **$cached=true**) : *string*
*Get data from API or cache*protected**sendRequest(***string* **$url**, *mixed\[\]* **$parameters**) : *string*
*Send request to API*

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c121b3bed718e2e261cb7e36e35dc911449eaf887b5a09573cbf0b3fe2e8e42?d=identicon)[linuskohl](/maintainers/linuskohl)

---

Top Contributors

[![linuskohl](https://avatars.githubusercontent.com/u/2761641?v=4)](https://github.com/linuskohl "linuskohl (5 commits)")

### Embed Badge

![Health badge](/badges/linuskohl-org-locationiq/health.svg)

```
[![Health](https://phpackages.com/badges/linuskohl-org-locationiq/health.svg)](https://phpackages.com/packages/linuskohl-org-locationiq)
```

###  Alternatives

[rs/laravel-version-control

Foundations for making your app version controlled. Provides migration, blueprint and base models. Will make your app GxP compliant if you exclusively use the VC models and table structure as set out in this package.

1227.5k](/packages/rs-laravel-version-control)[mad-web/laravel-seoable

Easy to map your eloquent fields to seo properties

407.6k](/packages/mad-web-laravel-seoable)[wpsitecare/carelib

A collection of helpful functions to make creating an awesome theme more enjoyable.

164.6k](/packages/wpsitecare-carelib)

PHPackages © 2026

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