riseno/laravel-minify-response
Larablocks Analysis
riseno/laravel-minify-response works with any PHP project: the latest release (1.0.1, May 19, 2016) doesn't depend on Laravel.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- No release in the last 12 months (last: May 19, 2016)
- 0 downloads a month (needs 10,000)
- 6 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: May 19, 2016.
- No releases in the last 12 months.
- First released: May 18, 2016.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.
| Install | |
|---|---|
composer require riseno/laravel-minify-response |
|
| Latest Version: | 1.0.1 |
| License: | MIT |
| Last Updated: | Oct 20, 2016 |
| Links: | GitHub · Packagist |
Laravel Minify Response
Laravel minify response middleware that will filter all the spaces and make all the HTML tags in one line.
Installation
Require this package with composer using the following command:
composer require riseno/laravel-minify-response
After updating composer, add the middleware to the middlewareGroups array in app/http/Kernel.php .
protected $middlewareGroups = [
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Riseno\MinifyResponse\MinifyResponseMiddleware::class,
],
...
];
License
The Laravel minify response middleware is open-sourced software licensed under the MIT license
Alternatives to riseno/laravel-minify-response
Minify final Laravel Blade HTML safely with first-class Laravel 8-13 support and...
Version History
| Version | Released | License |
|---|---|---|
| 1.0.1 | MIT | |
| 1.0.0 | MIT |