We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to install this package in a Lumen project. composer require spatie/laravel-webhook-client
composer require spatie/laravel-webhook-client
But I'm getting the error;
[InvalidArgumentException] Package spatie/laravel-webhook-client at version has a PHP requirement incompatible with your PHP version (7.1.23)
My composer.json;
{ "name": "laravel/lumen", "description": "The Laravel Lumen Framework.", "keywords": ["framework", "laravel", "lumen"], "license": "MIT", "type": "project", "require": { "php": ">=7.1.3", "dusterio/lumen-passport": "^0.2.15", "laravel/lumen-framework": "5.8.*" }, "require-dev": { "fzaninotto/faker": "^1.4", "phpunit/phpunit": "^7.0", "mockery/mockery": "^1.0" }, "autoload": { "classmap": [ "database/seeds", "database/factories" ], "psr-4": { "App\": "app/" } }, "autoload-dev": { "classmap": [ "tests/" ] }, "scripts": { "post-root-package-install": [ "@php -r "file_exists('.env') || copy('.env.example', '.env');"" ] }, "config": { "preferred-install": "dist", "sort-packages": true, "optimize-autoloader": true }, "minimum-stability": "dev", "prefer-stable": true }
The text was updated successfully, but these errors were encountered:
I have fixed this by adding
"platform": { "php": "7.3" }
in to the config section of the composer.jason file.
config
Sorry, something went wrong.
No branches or pull requests
I'm trying to install this package in a Lumen project.
composer require spatie/laravel-webhook-client
But I'm getting the error;
My composer.json;
{
"name": "laravel/lumen",
"description": "The Laravel Lumen Framework.",
"keywords": ["framework", "laravel", "lumen"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=7.1.3",
"dusterio/lumen-passport": "^0.2.15",
"laravel/lumen-framework": "5.8.*"
},
"require-dev": {
"fzaninotto/faker": "^1.4",
"phpunit/phpunit": "^7.0",
"mockery/mockery": "^1.0"
},
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\": "app/"
}
},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"scripts": {
"post-root-package-install": [
"@php -r "file_exists('.env') || copy('.env.example', '.env');""
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
The text was updated successfully, but these errors were encountered: