|
3 | 3 | <head>
|
4 | 4 | <meta charset="utf-8">
|
5 | 5 | <meta http-equiv="X-UA-Compatible" content="chrome=1">
|
6 |
| - <title>Geocoder - The almost missing Geocoder PHP 5.3 library</title> |
| 6 | + <title>Geocoder by willdurand</title> |
7 | 7 |
|
8 | 8 | <link rel="stylesheet" href="stylesheets/styles.css">
|
9 | 9 | <link rel="stylesheet" href="stylesheets/pygment_trac.css">
|
@@ -43,13 +43,15 @@ <h3>HttpAdapters</h3>
|
43 | 43 |
|
44 | 44 | <
8000
span>ul>
|
45 | 45 | <li>
|
46 |
| -<code>BuzzHttpAdapter</code> for <a href="https://github.com/kriswallsmith/Buzz">Buzz</a>, a lightweight PHP 5.3 library for issuing HTTP requests;</li> |
| 46 | +<code>BuzzHttpAdapter</code> to use <a href="https://github.com/kriswallsmith/Buzz">Buzz</a>, a lightweight PHP 5.3 library for issuing HTTP requests;</li> |
47 | 47 | <li>
|
48 |
| -<code>CurlHttpAdapter</code> for <a href="http://php.net/manual/book.curl.php">cURL</a>;</li> |
| 48 | +<code>CurlHttpAdapter</code> to use <a href="http://php.net/manual/book.curl.php">cURL</a>;</li> |
49 | 49 | <li>
|
50 |
| -<code>GuzzleHttpAdapter</code> for <a href="https://github.com/guzzle/guzzle">Guzzle</a>, PHP 5.3+ HTTP client and framework for building RESTful web service clients;</li> |
| 50 | +<code>GuzzleHttpAdapter</code> to use <a href="https://github.com/guzzle/guzzle">Guzzle</a>, PHP 5.3+ HTTP client and framework for building RESTful web service clients;</li> |
51 | 51 | <li>
|
52 |
| -<code>ZendHttpAdapter</code> for <a href="http://framework.zend.com/manual/2.0/en/modules/zend.http.client.html">Zend Http Client</a>.</li> |
| 52 | +<code>SocketHttpAdapter</code> to use a <a href="http://www.php.net/manual/function.fsockopen.php">socket</a>;</li> |
| 53 | +<li> |
| 54 | +<code>ZendHttpAdapter</code> to use <a href="http://framework.zend.com/manual/2.0/en/modules/zend.http.client.html">Zend Http Client</a>.</li> |
53 | 55 | </ul><h3>Providers</h3>
|
54 | 56 |
|
55 | 57 | <p><em>Providers</em> contain the logic to extract useful information.</p>
|
@@ -86,7 +88,9 @@ <h3>HttpAdapters</h3>
|
86 | 88 | <li>
|
87 | 89 | <a href="http://geocoder.us/">GeoCoder.us</a> as Address-Based geocoding provider (exclusively in USA);</li>
|
88 | 90 | <li>
|
89 |
| -<a href="http://www.ign.fr/">IGN OpenLS</a> as Address-Based geocoding provider (exclusively in France).</li> |
| 91 | +<a href="http://www.ign.fr/">IGN OpenLS</a> as Address-Based geocoding provider (exclusively in France);</li> |
| 92 | +<li> |
| 93 | +<a href="http://www.datasciencetoolkit.org/">DataScienceToolkit</a> as IP-Based geocoding provider.</li> |
90 | 94 | </ul><h2>Installation</h2>
|
91 | 95 |
|
92 | 96 | <p>The recommended way to install Geocoder is through composer.</p>
|
@@ -203,6 +207,10 @@ <h3>IGNOpenLSProvider</h3>
|
203 | 207 |
|
204 | 208 | <p>The <code>IGNOpenLSProvider</code> is able to geocode <strong>street addresses</strong> only, exclusively in France.</p>
|
205 | 209 |
|
| 210 | +<h3>DataScienceToolkitProvider</h3> |
| 211 | + |
| 212 | +<p>The <code>DataScienceToolkitProvider</code> is able to geocode <strong>IPv4 addresses</strong> only.</p> |
| 213 | + |
206 | 214 | <p>You can use one of them or write your own provider. You can also register all providers and decide later.
|
207 | 215 | That's we'll do:</p>
|
208 | 216 |
|
|
0 commit comments