PHPackages                             liamclaridge444/php-mapbox-api - 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. liamclaridge444/php-mapbox-api

ActiveLibrary[API Development](/categories/api)

liamclaridge444/php-mapbox-api
==============================

A PHP wrapper for the Mapbox API

v0.1(2y ago)05MITPHPPHP ^7.2.5 || ^8.0

Since Dec 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/liamclaridge444/php-mapbox-api)[ Packagist](https://packagist.org/packages/liamclaridge444/php-mapbox-api)[ RSS](/packages/liamclaridge444-php-mapbox-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (21)Versions (2)Used By (0)

PHP Mapbox API
==============

[](#php-mapbox-api)

[![CI](https://github.com/liamclaridge444/php-mapbox-api/actions/workflows/ci.yml/badge.svg)](https://github.com/liamclaridge444/php-mapbox-api/actions/workflows/ci.yml) [![codecov](https://camo.githubusercontent.com/62e440e1f13f11f687ce8a680bf2b2e1d7da3568d792280cae06ae6506e67bcb/68747470733a2f2f636f6465636f762e696f2f67682f6c69616d636c6172696467653434342f7068702d6d6170626f782d6170692f67726170682f62616467652e7376673f746f6b656e3d564f4b55514256373741)](https://codecov.io/gh/liamclaridge444/php-mapbox-api)

An easy to use wrapper for the Mapbox API, written in PHP.

Inspiration for this project was taken from [KnpLabs/php-github-api](https://github.com/KnpLabs/php-github-api).

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

[](#requirements)

- PHP ^8.1
- A [PSR-17 implementation](https://packagist.org/providers/psr/http-factory-implementation)
- A [PSR-18 implementation](https://packagist.org/providers/psr/http-client-implementation)

Installation
------------

[](#installation)

You can install the package via the `composer require` command:

```
composer require liamclaridge444/php-mapbox-api
```

Usage
-----

[](#usage)

Instantiate a Mapbox client with your access token, then chain the API name and method (see example below).

```
$accessToken = 'your-access-token';

$client = new Mapbox($accessToken);

$response = $client->datasets()->list();
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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

882d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8c4592a605fc8eed545d9104cd035f2354d451de35d7b971749c5b360e2d5d6?d=identicon)[liamclaridge444](/maintainers/liamclaridge444)

---

Top Contributors

[![liamclaridge444](https://avatars.githubusercontent.com/u/72123211?v=4)](https://github.com/liamclaridge444 "liamclaridge444 (33 commits)")

---

Tags

mapbox-apiphpapimapbox

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/liamclaridge444-php-mapbox-api/health.svg)

```
[![Health](https://phpackages.com/badges/liamclaridge444-php-mapbox-api/health.svg)](https://phpackages.com/packages/liamclaridge444-php-mapbox-api)
```

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[m4tthumphrey/php-gitlab-api

GitLab API v4 client for PHP

9485.4M64](/packages/m4tthumphrey-php-gitlab-api)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)

PHPackages © 2026

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