diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 282131b..d44a72f 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -22,7 +22,7 @@ checks: tools: external_code_coverage: timeout: 600 - runs: 3 + runs: 2 php_code_sniffer: enabled: true config: diff --git a/.travis.yml b/.travis.yml index 96b482d..03a87c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ language: php sudo: false php: - - 5.6 - 7.0 - 7.1 - nightly @@ -13,7 +12,7 @@ matrix: - php: nightly env: - - TESTBENCH_VERSION=3.4.* + - TESTBENCH_VERSION=3.5.* before_script: - travis_retry composer self-update diff --git a/README.md b/README.md index 76de78a..ebfdb0e 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Feel free to check out the [releases](https://github.com/ARCANEDEV/GeoIP/release * Well tested with maximum code quality. * Easy setup & configuration. - * Laravel `5.1 | 5.2 | 5.3 | 5.4` are supported. + * Laravel `5.1 | 5.2 | 5.3 | 5.4 | 5.5` are supported. * Well documented & IDE Friendly. * Made with :heart: & :coffee:. @@ -38,7 +38,7 @@ If you discover any security related issues, please email arcanedev-maroc@gmail. Any ideas are welcome. Feel free to submit any issues or pull requests, please check the [contribution guidelines](CONTRIBUTING.md). -[badge_laravel]: https://img.shields.io/badge/For-Laravel%205.x-orange.svg?style=flat-square +[badge_laravel]: https://img.shields.io/badge/Laravel-5.1%20to%205.5-orange.svg?style=flat-square [badge_license]: https://img.shields.io/packagist/l/arcanedev/geo-ip.svg?style=flat-square [badge_build]: https://img.shields.io/travis/ARCANEDEV/GeoIP.svg?style=flat-square diff --git a/_docs/0-Home.md b/_docs/0-Home.md index 4fc2d8b..d433c9e 100644 --- a/_docs/0-Home.md +++ b/_docs/0-Home.md @@ -6,7 +6,7 @@ GeoIP package for Laravel. * Well tested with maximum code quality. * Easy setup & configuration. - * Laravel `5.1 | 5.2 | 5.3 | 5.4` are supported. + * Laravel `5.1 | 5.2 | 5.3 | 5.4 | 5.5` are supported. * Well documented & IDE Friendly. * Made with :heart: & :coffee:. diff --git a/_docs/1-Installation-and-Setup.md b/_docs/1-Installation-and-Setup.md index d4eaf6a..63dc447 100644 --- a/_docs/1-Installation-and-Setup.md +++ b/_docs/1-Installation-and-Setup.md @@ -4,7 +4,7 @@ The GeoIP package has a few system requirements: - - PHP >= 5.6.4 + - PHP >= 7.0 ## Version Compatibility @@ -12,14 +12,17 @@ The GeoIP package has a few system requirements: |:------------------------------|:---------------------------------------------------------------------------------------| | ![GeoIP v2.0.x][geo_ip_2_0_x] | ![Laravel v5.1][laravel_5_1] ![Laravel v5.2][laravel_5_2] ![Laravel v5.3][laravel_5_3] | | ![GeoIP v2.1.x][geo_ip_2_1_x] | ![Laravel v5.4][laravel_5_4] | +| ![GeoIP v2.2.x][geo_ip_2_2_x] | ![Laravel v5.5][laravel_5_5] | [laravel_5_1]: https://img.shields.io/badge/v5.1-supported-brightgreen.svg?style=flat-square "Laravel v5.1" [laravel_5_2]: https://img.shields.io/badge/v5.2-supported-brightgreen.svg?style=flat-square "Laravel v5.2" [laravel_5_3]: https://img.shields.io/badge/v5.3-supported-brightgreen.svg?style=flat-square "Laravel v5.3" [laravel_5_4]: https://img.shields.io/badge/v5.4-supported-brightgreen.svg?style=flat-square "Laravel v5.4" +[laravel_5_5]: https://img.shields.io/badge/v5.5-supported-brightgreen.svg?style=flat-square "Laravel v5.5" [geo_ip_2_0_x]: https://img.shields.io/badge/version-2.0.*-blue.svg?style=flat-square "GeoIP v2.0.*" [geo_ip_2_1_x]: https://img.shields.io/badge/version-2.1.*-blue.svg?style=flat-square "GeoIP v2.1.*" +[geo_ip_2_2_x]: https://img.shields.io/badge/version-2.2.*-blue.svg?style=flat-square "GeoIP v2.2.*" ## Composer diff --git a/_docs/3-Usage.md b/_docs/3-Usage.md index 6182cf2..2394fea 100644 --- a/_docs/3-Usage.md +++ b/_docs/3-Usage.md @@ -1,3 +1,3 @@ -# 4. Usage +# 3. Usage Coming Soon... diff --git a/composer.json b/composer.json index 9beaffb..739d050 100644 --- a/composer.json +++ b/composer.json @@ -13,14 +13,14 @@ } ], "require": { - "php": ">=5.6.4", - "arcanedev/support": "~4.0", + "php": ">=7.0", + "arcanedev/support": "~4.2", "guzzlehttp/guzzle": "~6.0" }, "require-dev": { - "phpunit/phpcov": "~3.0", - "phpunit/phpunit": "~5.0", - "geoip2/geoip2": "~2.0" + "phpunit/phpcov": "~4.0", + "phpunit/phpunit": "~6.0", + "geoip2/geoip2": "~2.6" }, "autoload": { "psr-4": { @@ -33,14 +33,19 @@ } }, "extra": { - "branch-alias": { - "dev-master": "2.1-dev" + "laravel": { + "providers": [ + "Arcanedev\\GeoIP\\GeoIPServiceProvider" + ], + "aliases": { + "GeoIP": "Arcanedev\\GeoIP\\Facades\\GeoIP" + } } }, "suggest": { "geoip2/geoip2": "Required if you're going to use the MaxMind database or web service." }, "scripts": { - "testbench": "composer require --dev \"orchestra/testbench=~3.4.0\"" + "testbench": "composer require --dev \"orchestra/testbench=~3.5.0\"" } }