Can't install illuminate/notifications in my Lumen

Viewed 1764

I'm having an error to install this package composer require illuminate/notifications to my Lumen 5.3.3. I also tried to update my PHP.

Is there something that I need to add or change?

$ composer require illuminate/notifications
Using version ^5.4 for illuminate/notifications
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove illuminate/mail v5.3.23
    - Conclusion: don't install illuminate/mail v5.3.23
    - illuminate/notifications 5.4.x-dev requires illuminate/mail 5.4.* -> satisfiable by illuminate/mail[5.4.x-dev].
    - illuminate/notifications v5.4.0 requires illuminate/mail 5.4.* -> satisfiable by illuminate/mail[5.4.x-dev].
    - illuminate/notifications v5.4.13 requires illuminate/mail 5.4.* -> satisfiable by illuminate/mail[5.4.x-dev].
    - illuminate/notifications v5.4.17 requires illuminate/mail 5.4.* -> satisfiable by illuminate/mail[5.4.x-dev].
    - illuminate/notifications v5.4.19 requires illuminate/mail 5.4.* -> satisfiable by illuminate/mail[5.4.x-dev].
    - illuminate/notifications v5.4.9 requires illuminate/mail 5.4.* -> satisfiable by illuminate/mail[5.4.x-dev].
    - illuminate/notifications 5.5.x-dev requires illuminate/mail 5.5.* -> satisfiable by illuminate/mail[5.5.x-dev].
    - Can only install one of: illuminate/mail[5.4.x-dev, v5.3.23].
    - Can only install one of: illuminate/mail[5.5.x-dev, v5.3.23].
    - Installation request for illuminate/mail (locked at v5.3.23, required as 5.3.*) -> satisfiable by illuminate/mail[v5.3.23].
    - Installation request for illuminate/notifications ^5.4 -> satisfiable by illuminate/notifications[5.4.x-dev, 5.5.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].


Installation failed, reverting ./composer.json to its original content.

Here is my composer.json:

{
"name": "laravel/lumen",
"description": "The Laravel Lumen Framework.",
"keywords": ["framework", "laravel", "lumen"],
"license": "MIT",
"type": "project",
"require": {
    "php": ">=5.6.4",
    "laravel/lumen-framework": "5.3.*",
    "vlucas/phpdotenv": "~2.2",
    "krisanalfa/lumen-dingo-adapter": "^0.0.2",
    "guzzlehttp/guzzle": "^6.2",
    "illuminate/mail": "5.3.*",
    "illuminate/notifications": "5.3.*",
    "zizaco/entrust": "5.2.x-dev",
    "laravelista/lumen-vendor-publish": "^2.0",
    "aws/aws-sdk-php-laravel": "^3.1"

},
"require-dev": {
    "fzaninotto/faker": "~1.4",
    "phpunit/phpunit": "~5.0",
    "mockery/mockery": "~0.9",
    "flipbox/lumen-generator": "^5.3"
},
"autoload": {
    "psr-4": {
        "App\\": "app/"
    }
},
"autoload-dev": {
    "classmap": [
        "tests/",
        "database/"
    ]
},
"scripts": {
    "post-root-package-install": [
        "php -r \"copy('.env.example', '.env');\""
    ]
},
"minimum-stability": "dev",
"prefer-stable": true
}[![enter image description here][1]][1]

I also tried to intall the packages for lumen 5.3 but still it gives me this error

enter image description here

2 Answers
Related