mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-08-26 13:20:17 +02:00
Merge pull request #122 from hkdobrev/composer-readme-improvements
Improve Composer notes in the readme
This commit is contained in:
commit
18ce5c2649
@ -14,16 +14,16 @@ and run tasks for that freshly deployed code.
|
||||
Simply add the following dependency to your project’s composer.json file:
|
||||
|
||||
```js
|
||||
"require": {
|
||||
"require-dev": {
|
||||
// ...
|
||||
"andres-montanez/magallanes": "1.0.*"
|
||||
"andres-montanez/magallanes": "~1.0.1"
|
||||
// ...
|
||||
}
|
||||
```
|
||||
Now tell we update the vendors:
|
||||
|
||||
```bash
|
||||
$ php composer update
|
||||
$ php composer update andres-montanez/magallanes
|
||||
```
|
||||
|
||||
And finally we can use Magallanes from the vendor's bin:
|
||||
@ -35,7 +35,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.1"
|
||||
```
|
||||
|
||||
Make sure you have ~/.composer/vendor/bin/ in your path.
|
||||
|
Loading…
Reference in New Issue
Block a user