Skip to content

Commit 08c28b4

Browse files
Updated the installation instructions
1 parent 184d055 commit 08c28b4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,15 @@ Laravel HTMLMin was created by, and is maintained by [Graham Campbell](https://g
1616

1717
## Installation
1818

19-
[PHP](https://php.net) 5.4+ or [HHVM](http://hhvm.com) 3.2+, and [Composer](https://getcomposer.org) are required.
19+
[PHP](https://php.net) 5.4+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required.
2020

21-
To get the latest version of Laravel HTMLMin, simply require `"graham-campbell/htmlmin": "~2.0"` in your `composer.json` file. You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.
21+
To get the latest version of Laravel HTMLMin, simply add the following line to the require block of your `composer.json` file:
22+
23+
```
24+
"graham-campbell/htmlmin": "~2.0"
25+
```
26+
27+
You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.
2228

2329
Once Laravel HTMLMin is installed, you need to register the service provider. Open up `app/config/app.php` and add the following to the `providers` key.
2430

0 commit comments

Comments
 (0)