1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-12 08:14:06 +02:00

Improved the suggested version constraint

This commit is contained in:
Graham Campbell
2014-09-14 19:02:49 +01:00
parent 7e91d1ead2
commit a663802c2c

View File

@@ -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 If you're using Composer to manage dependencies, you can include the following
in your composer.json file: in your composer.json file:
```json
{
"require": { "require": {
"danielstjules/stringy": ">=1.6.0" "danielstjules/stringy": "~1.6"
} }
}
```
Then, after running `composer update` or `php composer.phar update`, you can Then, after running `composer update` or `php composer.phar update`, you can
load the class using Composer's autoloading: load the class using Composer's autoloading: