├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── config └── geolocation.php ├── phpstan.neon ├── phpunit.dist.xml ├── pint.json ├── readme_ip2location.md ├── readme_ipinfodb.md ├── src ├── Contracts │ └── Services │ │ ├── Ip2LocationInterface.php │ │ └── IpInfoDbInterface.php ├── Enums │ ├── Language.php │ └── Precision.php ├── Exceptions │ └── Ip2Location │ │ ├── InternalServerException.php │ │ ├── InvalidApiException.php │ │ ├── InvalidIpException.php │ │ ├── InvalidLanguageCodeException.php │ │ ├── RetrievalException.php │ │ └── TranslationNotAvailableException.php ├── GeoLocationServiceProvider.php ├── Responses │ ├── Ip2Location │ │ ├── CityResponse.php │ │ ├── ContinentResponse.php │ │ ├── CountryResponse.php │ │ ├── CurrencyResponse.php │ │ ├── GeoTargetingResponse.php │ │ ├── LanguageResponse.php │ │ ├── ProxyResponse.php │ │ ├── RegionResponse.php │ │ ├── TimeZoneResponse.php │ │ └── TranslationResponse.php │ ├── Ip2LocationResponse.php │ └── IpInfoDbLocationResponse.php └── Services │ ├── Ip2Location.php │ └── IpInfoDb.php └── tests ├── Integration └── Services │ ├── Ip2LocationTest.php │ └── IpInfoDbTest.php ├── TestCase.php ├── Unit ├── GeoLocationServiceTest.php ├── Responses │ ├── Ip2LocationResponseTest.php │ └── IpInfoDbLocationResponseTest.php └── Services │ ├── Ip2LocationTest.php │ └── IpInfoDbTest.php └── fixtures ├── ip2location_free.json ├── ip2location_plus.json ├── ip2location_security.json └── ip2location_starter.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/composer.json -------------------------------------------------------------------------------- /config/geolocation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/config/geolocation.php -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.dist.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/phpunit.dist.xml -------------------------------------------------------------------------------- /pint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/pint.json -------------------------------------------------------------------------------- /readme_ip2location.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/readme_ip2location.md -------------------------------------------------------------------------------- /readme_ipinfodb.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/readme_ipinfodb.md -------------------------------------------------------------------------------- /src/Contracts/Services/Ip2LocationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Contracts/Services/Ip2LocationInterface.php -------------------------------------------------------------------------------- /src/Contracts/Services/IpInfoDbInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Contracts/Services/IpInfoDbInterface.php -------------------------------------------------------------------------------- /src/Enums/Language.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Enums/Language.php -------------------------------------------------------------------------------- /src/Enums/Precision.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Enums/Precision.php -------------------------------------------------------------------------------- /src/Exceptions/Ip2Location/InternalServerException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Exceptions/Ip2Location/InternalServerException.php -------------------------------------------------------------------------------- /src/Exceptions/Ip2Location/InvalidApiException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Exceptions/Ip2Location/InvalidApiException.php -------------------------------------------------------------------------------- /src/Exceptions/Ip2Location/InvalidIpException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Exceptions/Ip2Location/InvalidIpException.php -------------------------------------------------------------------------------- /src/Exceptions/Ip2Location/InvalidLanguageCodeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Exceptions/Ip2Location/InvalidLanguageCodeException.php -------------------------------------------------------------------------------- /src/Exceptions/Ip2Location/RetrievalException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Exceptions/Ip2Location/RetrievalException.php -------------------------------------------------------------------------------- /src/Exceptions/Ip2Location/TranslationNotAvailableException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Exceptions/Ip2Location/TranslationNotAvailableException.php -------------------------------------------------------------------------------- /src/GeoLocationServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/GeoLocationServiceProvider.php -------------------------------------------------------------------------------- /src/Responses/Ip2Location/CityResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/Ip2Location/CityResponse.php -------------------------------------------------------------------------------- /src/Responses/Ip2Location/ContinentResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/Ip2Location/ContinentResponse.php -------------------------------------------------------------------------------- /src/Responses/Ip2Location/CountryResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/Ip2Location/CountryResponse.php -------------------------------------------------------------------------------- /src/Responses/Ip2Location/CurrencyResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/Ip2Location/CurrencyResponse.php -------------------------------------------------------------------------------- /src/Responses/Ip2Location/GeoTargetingResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/Ip2Location/GeoTargetingResponse.php -------------------------------------------------------------------------------- /src/Responses/Ip2Location/LanguageResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/Ip2Location/LanguageResponse.php -------------------------------------------------------------------------------- /src/Responses/Ip2Location/ProxyResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/Ip2Location/ProxyResponse.php -------------------------------------------------------------------------------- /src/Responses/Ip2Location/RegionResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/Ip2Location/RegionResponse.php -------------------------------------------------------------------------------- /src/Responses/Ip2Location/TimeZoneResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/Ip2Location/TimeZoneResponse.php -------------------------------------------------------------------------------- /src/Responses/Ip2Location/TranslationResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/Ip2Location/TranslationResponse.php -------------------------------------------------------------------------------- /src/Responses/Ip2LocationResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/Ip2LocationResponse.php -------------------------------------------------------------------------------- /src/Responses/IpInfoDbLocationResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Responses/IpInfoDbLocationResponse.php -------------------------------------------------------------------------------- /src/Services/Ip2Location.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Services/Ip2Location.php -------------------------------------------------------------------------------- /src/Services/IpInfoDb.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/src/Services/IpInfoDb.php -------------------------------------------------------------------------------- /tests/Integration/Services/Ip2LocationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/Integration/Services/Ip2LocationTest.php -------------------------------------------------------------------------------- /tests/Integration/Services/IpInfoDbTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/Integration/Services/IpInfoDbTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/Unit/GeoLocationServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/Unit/GeoLocationServiceTest.php -------------------------------------------------------------------------------- /tests/Unit/Responses/Ip2LocationResponseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/Unit/Responses/Ip2LocationResponseTest.php -------------------------------------------------------------------------------- /tests/Unit/Responses/IpInfoDbLocationResponseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/Unit/Responses/IpInfoDbLocationResponseTest.php -------------------------------------------------------------------------------- /tests/Unit/Services/Ip2LocationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/Unit/Services/Ip2LocationTest.php -------------------------------------------------------------------------------- /tests/Unit/Services/IpInfoDbTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/Unit/Services/IpInfoDbTest.php -------------------------------------------------------------------------------- /tests/fixtures/ip2location_free.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/fixtures/ip2location_free.json -------------------------------------------------------------------------------- /tests/fixtures/ip2location_plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/fixtures/ip2location_plus.json -------------------------------------------------------------------------------- /tests/fixtures/ip2location_security.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/fixtures/ip2location_security.json -------------------------------------------------------------------------------- /tests/fixtures/ip2location_starter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/midnite81/geolocation/HEAD/tests/fixtures/ip2location_starter.json --------------------------------------------------------------------------------