From 806147a7e59827ba7f65ebb01f9248a06a38debe Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 26 May 2016 18:15:38 +0430 Subject: [PATCH] Prefer stable version for composer.json If we don't add ```"prefer-stable" : true,``` then every other dependency upgrades to minimum stability of "dev" and it can break everything. adding this just **allows** composer to use dev dependencies while default behavior keeps normal and stable packages are installed, if available. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dc1e036..624a7e5 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,8 @@ You just need to add this to your `composer.json`'s `"require"`: Also you got to set the `minimum-stability` of your `composer.json` to `dev`, adding this: ```json - "minimum-stability": "dev" + "minimum-stability": "dev", + "prefer-stable" : true, ``` Then run: