diff --git a/CHANGELOG.md b/CHANGELOG.md index d88fd12..5e1800a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,6 @@ All notable changes to `ipinfolaravel` will be documented in this file. ## v2.5.0 - Added support for Laravel 10 with latest IPinfo PHP package. -- No longer supports `PHP < 8` ## v2.4.0 diff --git a/composer.json b/composer.json index 3689e39..71e65c9 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "homepage": "https://github.com/ipinfo/ipinfolaravel", "keywords": ["Laravel", "ipinfolaravel"], "require": { - "illuminate/support": ">=9", + "illuminate/support": ">=5", "ipinfo/ipinfo": ">=2.3.1" }, "require-dev": { diff --git a/testapp/composer.json b/testapp/composer.json index fee23cf..02fd0ef 100644 --- a/testapp/composer.json +++ b/testapp/composer.json @@ -2,24 +2,42 @@ "name": "laravel/laravel", "type": "project", "description": "The Laravel Framework.", - "keywords": ["framework", "laravel"], + "keywords": [ + "framework", + "laravel" + ], "license": "MIT", + "repositories": [ + { + "type": "path", + "url": ".." + } + ], "require": { - "php": "^8.1", - "guzzlehttp/guzzle": "^7.2", - "laravel/framework": "^10.0", - "laravel/sanctum": "^3.2", - "laravel/tinker": "^2.8", - "ipinfo/ipinfolaravel": "^2.5.0" + "php": "^7.3|^8.0", + "fideloper/proxy": "^4.4", + "fruitcake/laravel-cors": "^2.0", + "guzzlehttp/guzzle": "^7.0.1", + "laravel/framework": "^8.12", + "laravel/tinker": "^2.5", + "ipinfo/ipinfolaravel": "*" }, "require-dev": { + "facade/ignition": "^2.5", "fakerphp/faker": "^1.9.1", - "laravel/pint": "^1.0", - "laravel/sail": "^1.18", - "mockery/mockery": "^1.4.4", - "nunomaduro/collision": "^7.0", - "phpunit/phpunit": "^10.0", - "spatie/laravel-ignition": "^2.0" + "mockery/mockery": "^1.4.2", + "nunomaduro/collision": "^5.0", + "phpunit/phpunit": "^9.3.3" + }, + "config": { + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true + }, + "extra": { + "laravel": { + "dont-discover": [] + } }, "autoload": { "psr-4": { @@ -33,35 +51,18 @@ "Tests\\": "tests/" } }, + "minimum-stability": "dev", + "prefer-stable": true, "scripts": { "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php artisan package:discover --ansi" ], - "post-update-cmd": [ - "@php artisan vendor:publish --tag=laravel-assets --ansi --force" - ], "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "@php artisan key:generate --ansi" ] - }, - "extra": { - "laravel": { - "dont-discover": [] - } - }, - "config": { - "optimize-autoloader": true, - "preferred-install": "dist", - "sort-packages": true, - "allow-plugins": { - "pestphp/pest-plugin": true, - "php-http/discovery": true - } - }, - "minimum-stability": "stable", - "prefer-stable": true -} + } +}