liamclaridge444/php-mapbox-api
最新稳定版本:v0.1
Composer 安装命令:
composer require liamclaridge444/php-mapbox-api
包简介
A PHP wrapper for the Mapbox API
README 文档
README
An easy to use wrapper for the Mapbox API, written in PHP.
Inspiration for this project was taken from KnpLabs/php-github-api.
Requirements
- PHP ^8.1
- A PSR-17 implementation
- A PSR-18 implementation
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();
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-03