Skip to content

Commit

Permalink
Updated readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
vrkansagara authored Mar 20, 2021
1 parent 95eb81a commit d0b84e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is simply compress your final out of Larvel Application and serve to the br
### How to install

~~~bash
composer require vrkansagara/lara-out-press
composer require vrkansagara/lara-out-press
~~~

### How to activate this compression middleware in your application
Expand All @@ -24,20 +24,20 @@ php artisan vendor:publish --provider="Vrkansagara\LaraOutPress\ServiceProvider"
Enable on single environment `.env`

~~~bash
VRKANSAGARA_COMPRESS_ENVIRONMENT='${APP_ENV}'
VRKANSAGARA_COMPRESS_ENVIRONMENT="${APP_ENV}"
~~~

Enable on multiple environment `.env`

~~~bash
VRKANSAGARA_COMPRESS_ENVIRONMENT='prod,testing,dev,local'
VRKANSAGARA_COMPRESS_ENVIRONMENT='prod,testing,dev,local'
~~~


Enable this compressor by placing bellow code in `.env` file.

~~~bash
VRKANSAGARA_COMPRESS_ENABLED = true
VRKANSAGARA_COMPRESS_ENABLED = true
~~~

### Display usage on each page.
Expand All @@ -61,4 +61,4 @@ Set ` $debug = 1; ` in ` AfterMiddleware.php `
### Code Assumption
This code is developed with the mind set of each request is filtered by this middleware. So most of the code will not be flexi.

Improvement and suggestion are always welcome.
Improvement and suggestion are always welcome.

0 comments on commit d0b84e2

Please sign in to comment.