Merge pull request #2555 from halkyon/readme_fixes

Use quotes around composer require argument for some shells.
This commit is contained in:
Andrew Short 2013-10-16 18:38:58 -07:00
commit 688d853a95

View File

@ -64,14 +64,14 @@ see [Using development versions](#using-development-versions).
Composer isn't only used to download SilverStripe CMS, it can also be used to manage all SilverStripe modules. Installing a module can be done with the following command:
composer require silverstripe/forum:*
composer require "silverstripe/forum:*"
This will install the forum module in the latest compatible version.
By default, Composer updates other existing modules (like `framework` and `cms`),
and installs "dev" dependencies like PHPUnit. In case you don't need those dependencies,
use the following command instead:
composer require --no-update silverstripe/forum:*
composer require --no-update "silverstripe/forum:*"
composer update --no-dev
The `require` command has two parts. First is `silverstripe/forum`. This is the name of the package.