mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-09-13 12:40:18 +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:
|
Simply add the following dependency to your project’s composer.json file:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
"require": {
|
"require-dev": {
|
||||||
// ...
|
// ...
|
||||||
"andres-montanez/magallanes": "1.0.*"
|
"andres-montanez/magallanes": "~1.0.1"
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Now tell we update the vendors:
|
Now tell we update the vendors:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ php composer update
|
$ php composer update andres-montanez/magallanes
|
||||||
```
|
```
|
||||||
|
|
||||||
And finally we can use Magallanes from the vendor's bin:
|
And finally we can use Magallanes from the vendor's bin:
|
||||||
@ -35,7 +35,7 @@ $ bin/mage version
|
|||||||
### System-wide installation with composer ###
|
### System-wide installation with composer ###
|
||||||
|
|
||||||
```bash
|
```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.
|
Make sure you have ~/.composer/vendor/bin/ in your path.
|
||||||
|
Loading…
Reference in New Issue
Block a user