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

Merge pull request #33 from GrahamCampbell/patch-1

Improved the suggested version constraint
This commit is contained in:
Daniel St. Jules
2014-09-14 11:05:17 -07:00

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: