Laravel-activitylog: Installation failed for Laravel 5.7.28 & PHP 7.2.17

Created on 12 Apr 2019  路  2Comments  路  Source: spatie/laravel-activitylog

Hello,

When I'm trying to do install this package using below command I got following error

command composer require spatie/laravel-activitylog

error

Using version ^3.4 for spatie/laravel-activitylog
./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
    - Installation request for spatie/laravel-activitylog ^3.4 -> satisfiable by spatie/laravel-activitylog[3.4.0].
    - Conclusion: remove laravel/framework v5.7.28
    - Conclusion: don't install laravel/framework v5.7.28
    - spatie/laravel-activitylog 3.4.0 requires illuminate/config ~5.8.0 -> satisfiable by laravel/framework[5.8.x-dev], illuminate/config[5.8.x-dev, v5.8.0, v5.8.11, v5.8.2, v5.8.3, v5.8.4, v5.8.8, v5.8.9].
    - Can only install one of: laravel/framework[5.8.x-dev, v5.7.28].
    - don't install illuminate/config 5.8.x-dev|don't install laravel/framework v5.7.28
    - don't install illuminate/config v5.8.0|don't install laravel/framework v5.7.28
    - don't install illuminate/config v5.8.11|don't install laravel/framework v5.7.28
    - don't install illuminate/config v5.8.2|don't install laravel/framework v5.7.28
    - don't install illuminate/config v5.8.3|don't install laravel/framework v5.7.28
    - don't install illuminate/config v5.8.4|don't install laravel/framework v5.7.28
    - don't install illuminate/config v5.8.8|don't install laravel/framework v5.7.28
    - don't install illuminate/config v5.8.9|don't install laravel/framework v5.7.28
    - Installation request for laravel/framework (locked at v5.7.28, required as 5.7.*) -> satisfiable by laravel/framework[v5.7.28].

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

Please guide me to resolve this issue ASAP.

question

Most helpful comment

v3.3.0 has dropped the support for L5.7 & PHP7.1
https://github.com/spatie/laravel-activitylog/blob/master/CHANGELOG.md#330---2019-04-08
So you have to require spatie/laravel-activitylog:^3.2

All 2 comments

v3.3.0 has dropped the support for L5.7 & PHP7.1
https://github.com/spatie/laravel-activitylog/blob/master/CHANGELOG.md#330---2019-04-08
So you have to require spatie/laravel-activitylog:^3.2

@Gummibeer : Yeah ! Its working like charm now. Thanks for your reply. :)

Was this page helpful?
0 / 5 - 0 ratings