Skip to content

Commit c61d3d1

Browse files
committed
Adding vrkansagara/LaraOutPress for html compress.
Signed-off-by: Vallabh Kansagara <vrkansagara@gmail.com>
1 parent 4bf3656 commit c61d3d1

File tree

4 files changed

+49
-2
lines changed

4 files changed

+49
-2
lines changed

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ MAIL_ENCRYPTION=null
4747
PUSHER_APP_ID=
4848
PUSHER_APP_KEY=
4949
PUSHER_APP_SECRET=
50+
51+
# HTML Compressor
52+
VRKANSAGARA_COMPRESS_ENVIRONMENT='${APP_ENV}'

app/Http/Kernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class Kernel extends HttpKernel
2424
\App\Http\Middleware\TrimStrings::class,
2525
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
2626
\Spatie\Cors\Cors::class,
27+
\Vrkansagara\Http\Middleware\AfterMiddleware::class,
2728
];
2829

2930
/**

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"spatie/laravel-cors": "^1.2",
2727
"tymon/jwt-auth": "1.0.0-rc.3",
2828
"unisharp/laravel-filemanager": "~1.8",
29+
"vrkansagara/lara-out-press": "^1.1",
2930
"yajra/laravel-datatables-oracle": "~8.0"
3031
},
3132
"require-dev": {

composer.lock

Lines changed: 44 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)