PHP Classes

Installing via composer doesn't work

Recommend this page to a friend!

      Shikiryu PHP Backup Tool  >  All threads  >  Installing via composer doesn't work  >  (Un) Subscribe thread alerts  
Subject:Installing via composer doesn't work
Summary:PHP 7.3, no correct version found
Messages:2
Author:B. Schorre
Date:2021-06-28 07:34:15
 

  1. Installing via composer doesn't work   Reply   Report abuse  
Picture of B. Schorre B. Schorre - 2021-06-28 07:34:15
Error Message:
Could not find a version of package shikiryu/backup matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.

Description:
I have put a file composer.json into my folder and after that I called the composer require shikiryu/backup ....

What do I have to do?

  2. Re: Installing via composer doesn't work   Reply   Report abuse  
Picture of Chouchen Chouchen - 2022-10-27 07:55:58 - In reply to message 1 from B. Schorre
Hi,

Sorry for the late reply.

PHPCD is set for `php: >=7.3`.
That's the max PHP version I see in dependencies which can block you. You also need all php extensions listed in the project's composer.json

If the PHP version is blocking you from using the tool, you may try to `composer require shikiryu/backup --update-no-dev` which should install the packagist without the "dev dependencies" (and then no PHPCD).

If you need to dev over this package, you need php >= 7.3 🤷‍♂️