diff --git a/README.md b/README.md index 8badec6..3b80059 100644 --- a/README.md +++ b/README.md @@ -157,18 +157,18 @@ $example->setExtensions( The library has two compactors bundled for your convenience. -```php -use Herrera\Box\Compactor\Javascript; - -$compactor = new Javascript(); -``` - ##### Compacting JavaScript The `JavaScript` compactor will minify JavaScript files, but requires the [`tedivm/jshrink`][] packages to work. This is included when you install the Box library. +```php +use Herrera\Box\Compactor\Javascript; + +$compactor = new Javascript(); +``` + ##### Compacting JSON The `JSON` compactor is very simple to use as there are no options to