Skip to content

Commit 7ecec5c

Browse files
committed
updated readme
1 parent a88c5ce commit 7ecec5c

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ GeoIP
1313
## Supported Drivers ([Services](#services))
1414

1515
* [IP-API](http://ip-api.com/)
16-
* [Telize](http://www.telize.com/)
16+
* [Telize](https://market.mashape.com/fcambus/telize/)
1717
* [Maxmind](https://www.maxmind.com/)
1818

1919
## Requirements
@@ -90,16 +90,12 @@ $config = [
9090

9191
#### Telize
9292

93-
To use the telize as the driver set the config, can also use https instead by setting `secure` to `true`.
93+
To use the telize as the driver set the config.
9494

9595
Secure Example:
9696
```php
9797
$config = [
9898
'driver' => 'telize',
99-
'telize' => [
100-
// optionally set secure (https) connection (default: false)
101-
'secure' => true
102-
],
10399
];
104100
```
105101

@@ -244,6 +240,15 @@ $geoip->get(); // returns array
244240
GeoIP::get(); // returns array
245241
```
246242

243+
Get raw geo information
244+
245+
```php
246+
$geoip->getRaw(); // different drivers will return different data types
247+
248+
// Laravel
249+
GeoIP::getRaw(); // different drivers will return different data types
250+
```
251+
247252
### Update Database
248253

249254
There is an update command available to help with updating and installing a local geoip database. The following will download and install/update the database file to `/path/to/database.mmdb`.
@@ -276,7 +281,7 @@ IP-API is a free (or paid) service that can also be used instead of the database
276281

277282
#### Telize
278283

279-
Telize is a free service that can be used as an alternative. It currently has no limitations.
284+
Telize offers a JSON IP and GeoIP REST API allowing to get a visitor IP address and to query location information from any IP address. It outputs JSON-encoded IP geolocation data, and supports both Cross-origin resource sharing (CORS) and JSONP.
280285

281286
#### Maxmind
282287

0 commit comments

Comments
 (0)