From a663802c2c9508fc5832e0137d72773d34e0e7e3 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sun, 14 Sep 2014 19:02:49 +0100 Subject: [PATCH] Improved the suggested version constraint --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c93bf42..4a37463 100644 --- a/README.md +++ b/README.md @@ -77,9 +77,13 @@ Tested and compatible with PHP 5.3+ and HHVM. Inspired by underscore.string.js. If you're using Composer to manage dependencies, you can include the following in your composer.json file: +```json +{ "require": { - "danielstjules/stringy": ">=1.6.0" + "danielstjules/stringy": "~1.6" } +} +``` Then, after running `composer update` or `php composer.phar update`, you can load the class using Composer's autoloading: