Doc fixes

main
Jordi Boggiano 13 years ago
parent c1b8e308df
commit 38ef1dcb24

@ -14,10 +14,10 @@ node's [npm](http://npmjs.org/) and ruby's [bundler](http://gembundler.com/).
But there has not been such a tool for PHP so far. But there has not been such a tool for PHP so far.
The problem that composer solves is the following. You have a project that The problem that composer solves is the following. You have a project that
depends on a number of libraries. Some of libraries have dependencies of their depends on a number of libraries. Some of those libraries have dependencies of
own. You declare the things you depend on. Composer will then go ahead and their own. You declare the things you depend on. Composer will then go ahead
find out which versions of which packages need to be installed, and install and find out which versions of which packages need to be installed, and
them. install them.
## Declaring dependencies ## Declaring dependencies

@ -154,15 +154,15 @@ every time is cumbersome. You don't want to force all your users to do that.
The other thing that you may have noticed is that we did not specify a package The other thing that you may have noticed is that we did not specify a package
repository for `monolog/monolog`. How did that work? The answer is packagist. repository for `monolog/monolog`. How did that work? The answer is packagist.
Packagist is the main package repository for composer, and it is enabled by [Packagist](http://packagist.org/) is the main package repository for
default. Anything that is published on packagist is available automatically composer, and it is enabled by default. Anything that is published on
through composer. Since monolog [is on packagist is available automatically through composer. Since monolog
packagist](http://packagist.org/packages/monolog/monolog), we can depend on it [is on packagist](http://packagist.org/packages/monolog/monolog), we can depend
without having to specify any additional repositories. on it without having to specify any additional repositories.
Assuming we want to share `hello-world` with the world, we would want to Assuming we want to share `hello-world` with the world, we would want to
publish it on packagist as well. And this is really easy. publish it on packagist as well. And this is really easy.
You simply hit the big "Submit Package" button and sign up. Then you submit You simply hit the big "Submit Package" button and sign up. Then you submit
the URL to your VCS, at which point packagist will start crawling it. Once it the URL to your VCS repository, at which point packagist will start crawling
is done, your package will be available to anyone. it. Once it is done, your package will be available to anyone.

@ -412,6 +412,6 @@ Optional.
A set of files that should be treated as binaries and symlinked into the `bin- A set of files that should be treated as binaries and symlinked into the `bin-
dir` (from config). dir` (from config).
See [faq/bin.md] for more details. See [articles/bin.md] for more details.
Optional. Optional.

Loading…
Cancel
Save