diff --git a/doc/articles/aliases.md b/doc/articles/aliases.md index 98a6d1335..d36eb11ff 100644 --- a/doc/articles/aliases.md +++ b/doc/articles/aliases.md @@ -89,6 +89,12 @@ Add this to your project's root `composer.json`: } ``` +Or let composer add it for you with: + +``` +php composer.phar require monolog/monolog:"dev-bugfix as 1.0.x-dev" +``` + That will fetch the `dev-bugfix` version of `monolog/monolog` from your GitHub and alias it to `1.0.x-dev`.