liamclaridge444/php-mapbox-api

A PHP wrapper for the Mapbox API

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/liamclaridge444/php-mapbox-api

v0.1 2023-12-18 14:42 UTC

This package is auto-updated.

Last update: 2025-10-06 17:38:19 UTC


README

CI codecov

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

Inspiration for this project was taken from KnpLabs/php-github-api.

Requirements

Installation

You can install the package via the composer require command:

composer require liamclaridge444/php-mapbox-api

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();