From c2b52100f19ddc0e31875b2610e2a6bd0c91dc2d Mon Sep 17 00:00:00 2001 From: Mathieu Dombrock Date: Mon, 18 Jun 2018 18:30:42 -0700 Subject: [PATCH] Fix markdown issues. Several headers were incorrectly formatted causing the markdown to display incorrectly and making this documentation harder to read. --- php/README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/php/README.md b/php/README.md index fa29f31..55c3bb3 100644 --- a/php/README.md +++ b/php/README.md @@ -1,21 +1,23 @@ -#Introduction +# Introduction This is the official PHP driver for the [Mapbox API](https://www.mapbox.com/developers/api/). It is crafted with artisanal skill from native hardwoods. The PHP driver currently supports geocoding, reverse geocoding, and permanent geocoding APIs. Others follow. -#PHP Specifics -##Dependencies +# PHP Specifics + +## Dependencies * PHP >=5.1.2 is required. * The php5-curl module is required. * SPL is required for autoloading. * JSON is required. Some distributions as of PHP 5.5rc2 lack the previously included JSON extension due to a license conflict. Use sudo apt-get install php5-json. -##Autoloading +## Autoloading All classes are autoloaded. Just require_once("Mapbox.php") and you're laughing. The PHP __autoload() method is deprecated; this library uses spl_autoload_register(). The Mapbox Autoload will not mess with other libraries or frameworks. -#Getting Started +# Getting Started + ## Get a Mapbox Token [Register with Mapbox](https://www.mapbox.com/studio/signup/) for free access to most Mapbox services. Go to the [API Token page](https://www.mapbox.com/studio/account/tokens/) to get or create an API token.