hidehalo / laravel-view-shrinker
Laravel framework view shrinker
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/hidehalo/laravel-view-shrinker
Requires
Requires (Dev)
- phpunit/phpunit: ^8.5.8|^9.3.3
This package is auto-updated.
Last update: 2025-09-28 11:50:06 UTC
README
What is?
Laravel view shrinker is a simple but effective laravel framework
extension package.
It provider a view compiler,it would performs compression operations similar to twig's %spaceless
function when compile&caching Blade
views.
Thus completing %spaceless
function at compile time to avoiding reading larger files of cache at runtime, it's helpful to enhance speed of view rendering.
How to
Install
composer install "hidehalo/laravel-view-shrinker"
Usage
Laravel will automatically register its service provider, override the default blade compiler, there have no more additional configuration.
Testing
./vendor/bin/test
License
The MIT License (MIT). Please see License File for more information.