Installing Jasny/Bootstrap with Composer for Symfony2 -
getting used installing composer unaware packages symfony2 using composer. configuration twitter/bootstrap was:
"repositories": [ { "type": "package", "package": { "name": "twitter/bootstrap", "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/twitter/bootstrap", "reference": "v2.3.0" } } } ],
but jasny/bootstrap this
{ "type": "package", "package": { "name": "jasny/bootstrap", "version": "2.3.0-j4", "source": { "type": "git", "url": "https://github.com/jasny/bootstrap", "reference": "2.3.0-j4" } } }
fails this
[unexpectedvalueexception] not parse version constraint 2.3.0-j4: invalid version string "2.3.0-j4"
how fix? 2.3.0-j4 latest version. the"-j4" non-standard , breaking composer?
unfortunately trying 2.3.* , >=2.3 suggested results in similar errors.
[composer\repository\invalidrepositoryexception] repository of type "package" contains invalid bundle definition: undefined index: version invalid bundle definition: {"name":"jasny\/bootstrap","version":"2.3.*","source":{"type":"git","url":"https:\/\/github.com\/jasny\/bootstrap","reference":"2.3.*"}}
version must follow format of x.y.z
optional suffix of -dev
, -alphan
, -betan
or -rcn
from http://getcomposer.org/doc/04-schema.md#version mentioned cheesemacfly.
you can seek 2.3.*
or >=2.3
instead.
twitter-bootstrap symfony2 composer-php jasny-bootstrap
No comments:
Post a Comment