PHP Classes

composer installation broken

Recommend this page to a friend!

      PHP Forms Class with HTML Generator and JavaScript Validation  >  All threads  >  composer installation broken  >  (Un) Subscribe thread alerts  
Subject:composer installation broken
Summary:Could not load package phpclasses/php-component-csv
Messages:3
Author:Davide
Date:2017-06-07 13:13:04
 

  1. composer installation broken   Reply   Report abuse  
Picture of Davide Davide - 2017-06-07 13:13:04
Composer version 1.4.1 2017-03-10 09:29:45

with these values in json file

{
"require": {
"phpclasses/formsgeneration": ">=1.0.22"
},
"repositories":
[
{
"type": "composer",
"url": "https:\/\/www.phpclasses.org\/"
},
{
"packagist": false
}
]
}

gives me this feedback:

[RuntimeException]
Could not load package phpclasses/php-component-csv in https://www.phpclass
es.org: [UnexpectedValueException] Could not parse version constraint ^1.3.
*: Invalid version string "^1.3.*"

[UnexpectedValueException]
Could not parse version constraint ^1.3.*: Invalid version string "^1.3.*"

  2. Re: composer installation broken   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2017-06-08 09:08:54 - In reply to message 1 from Davide
There is an issue with an unrelated package that is passing incorrect dependencies that cause that error. A workaround was applied for now. Please try again and let me know how it goes.

  3. Re: composer installation broken   Reply   Report abuse  
Picture of Davide Davide - 2017-06-08 13:42:47 - In reply to message 2 from Manuel Lemos
Dear Manuel,

now it works. Thank you very much!