parent
0209bd31a0
commit
035dbcc8ff
|
@ -122,7 +122,7 @@ the `.gitignore`.
|
||||||
Once you have a vcs repository (version control system, e.g. git) containing a
|
Once you have a vcs repository (version control system, e.g. git) containing a
|
||||||
`composer.json` file, your library is already composer-installable. In this
|
`composer.json` file, your library is already composer-installable. In this
|
||||||
example we will publish the `acme/hello-world` library on GitHub under
|
example we will publish the `acme/hello-world` library on GitHub under
|
||||||
`github.com/composer/hello-world`.
|
`github.com/acme/hello-world`.
|
||||||
|
|
||||||
Now, To test installing the `acme/hello-world` package, we create a new
|
Now, To test installing the `acme/hello-world` package, we create a new
|
||||||
project locally. We will call it `acme/blog`. This blog will depend on
|
project locally. We will call it `acme/blog`. This blog will depend on
|
||||||
|
@ -150,7 +150,7 @@ We do this by adding a package repository specification to the blog's
|
||||||
"repositories": [
|
"repositories": [
|
||||||
{
|
{
|
||||||
"type": "vcs",
|
"type": "vcs",
|
||||||
"url": "https://github.com/composer/hello-world"
|
"url": "https://github.com/acme/hello-world"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
|
|
Loading…
Reference in New Issue