From 168c9e7d095b7ca6f8c02caea6f5200d08b1c963 Mon Sep 17 00:00:00 2001 From: Calixto Date: Mon, 3 Jun 2019 18:54:03 -0300 Subject: [PATCH 1/3] Placing the country name correctly in ipdata.co --- src/Services/IPData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/IPData.php b/src/Services/IPData.php index a84d09e..13a7fb6 100644 --- a/src/Services/IPData.php +++ b/src/Services/IPData.php @@ -53,7 +53,7 @@ public function locate($ip) return $this->hydrate([ 'ip' => $ip, 'iso_code' => $json['country_code'], - 'country' => $json['continent_name'], + 'country' => $json['country_name'], 'city' => $json['city'], 'state' => $json['region_code'], 'state_name' => $json['region'], From 134702c477d1405a355bc79b51377e40e36763ff Mon Sep 17 00:00:00 2001 From: Calixto Date: Sat, 20 Jul 2019 18:44:34 -0300 Subject: [PATCH 2/3] fix travis-ci failed --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c7d706e..d4ae58c 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,8 @@ "require": { "php": "^7.0", "illuminate/support": "~5.0", - "illuminate/console": "~5.0" + "illuminate/console": "~5.0", + "vlucas/phpdotenv":"3.3" }, "suggest": { "geoip2/geoip2": "Required to use the MaxMind database or web service with GeoIP (~2.1).", From a92e3424cb7a65b1789e2199d37889164c44b858 Mon Sep 17 00:00:00 2001 From: Calixto Date: Sat, 3 Aug 2019 18:55:34 -0300 Subject: [PATCH 3/3] Removing "vlucas/phpdotenv":"3.3" --- composer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/composer.json b/composer.json index d4ae58c..c7d706e 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,7 @@ "require": { "php": "^7.0", "illuminate/support": "~5.0", - "illuminate/console": "~5.0", - "vlucas/phpdotenv":"3.3" + "illuminate/console": "~5.0" }, "suggest": { "geoip2/geoip2": "Required to use the MaxMind database or web service with GeoIP (~2.1).",