2017 © Pedro Peláez
 

library php-mapbox

A PHP Wrapper for the Mapbox JS cURL API

image

zakclayton/php-mapbox

A PHP Wrapper for the Mapbox JS cURL API

  • Monday, November 13, 2017
  • by ZakClayton
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,319 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 152 % Grown

The README.md

php-mapbox

A PHP Wrapper for the MapboxJS cURL API, (*1)

Latest Version on Packagist ![Software License][ico-license] Build Status, (*2)

This package aims to take the API provided by Mapbox and create a simple PHP wrapper that allows you to call various different endpoints and return the results in various formats., (*3)

At the moment this API will only return Geocoding results. Additional elements will be built on an as needed basis., (*4)

Install

Via Composer, (*5)

``` bash $ composer require zakclayton/php-mapbox, (*6)


## Usage ``` php $query = 'The Statue of Liberty'; $mapbox = new MapboxApi(MAPBOX_ACCESS_TOKEN); $geoCodingApi = $mapbox->createGeoCodingApi($query); $json = $geoCodingApi->getJson(); $entity = $geoCodingApi->call();

Parameters

Coming soon., (*7)

Testing

Tests are currently being written. Use this package with caution!, (*8)

bash $ composer test, (*9)

Security

If you discover any security related issues, please email zak@24kdesign.co.uk instead of using the issue tracker., (*10)

Credits

License

The MIT License (MIT). Please see License File for more information., (*11)

The Versions

13/11 2017

dev-master

9999999-dev https://github.com/:vendor/:package_name

A PHP Wrapper for the Mapbox JS cURL API

  Sources   Download

MIT

The Requires

 

The Development Requires

mapbox mapbox api

13/11 2017

1.1

1.1.0.0 https://github.com/:vendor/:package_name

A PHP Wrapper for the Mapbox JS cURL API

  Sources   Download

MIT

The Requires

 

The Development Requires

mapbox mapbox api

07/11 2017

v0.1

0.1.0.0 https://github.com/:vendor/:package_name

A PHP Wrapper for the Mapbox JS cURL API

  Sources   Download

MIT

The Requires

 

The Development Requires

mapbox mapbox api