Browse Source

Fix Composer version constraint

“~1.0.*” results in a Composer throwing an UnexpectedValueException
1.0
Carsten Blüm 9 years ago
parent
commit
13fbe3e2dd
  1. 4
      README.md

4
README.md

@ -20,7 +20,7 @@ Simply add the following dependency to your project’s composer.json file:
```js
"require-dev": {
// ...
"andres-montanez/magallanes": "~1.0.*"
"andres-montanez/magallanes": "~1.0"
// ...
}
```
@ -39,7 +39,7 @@ $ bin/mage version
### System-wide installation with composer ###
```bash
$ composer global require "andres-montanez/magallanes=~1.0.*"
$ composer global require "andres-montanez/magallanes=~1.0"
```
Make sure you have ~/.composer/vendor/bin/ in your path.

Loading…
Cancel
Save