Laravel-backup: PHP version

Created on 10 May 2019  路  3Comments  路  Source: spatie/laravel-backup

The current version of spatie/laravel-backup requires PHP version 7.2.

However, spatie/db-dumper 2.14.1 requires PHP 7.3.
This results in a conflict:

- Installation request for spatie/db-dumper 2.14.1 -> satisfiable by spatie/db-dumper[2.14.1].
- spatie/db-dumper 2.14.1 requires php ^7.3 -> your PHP version (7.2.18) does not satisfy that requirement.

Most helpful comment

Anyone who has pulled in this package with composer:

"spatie/laravel-backup": "^6.0"

now should require the spatie/db-dumper v2.14 manually, like so:

composer require spatie/db-dumper:2.14

This might be helpful to anyone else.
Thanks anyway!

All 3 comments

Either upgrade to PHP 7.3 or require the last PHP 7.2 compatible version of db-dumper.

Tbh I expected composer to just pick the right versions for you

Upgrading to PHP 7.3 is not a solution for everyone ;)

Anyone who has pulled in this package with composer:

"spatie/laravel-backup": "^6.0"

now should require the spatie/db-dumper v2.14 manually, like so:

composer require spatie/db-dumper:2.14

This might be helpful to anyone else.
Thanks anyway!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

holymp2006 picture holymp2006  路  4Comments

n0n0n0n0 picture n0n0n0n0  路  5Comments

ThunderBirdsX3 picture ThunderBirdsX3  路  7Comments

sunnyjayjay picture sunnyjayjay  路  4Comments

scottconnerly picture scottconnerly  路  4Comments