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.
composer install "hidehalo/laravel-view-shrinker"Laravel will automatically register its service provider, override the default blade compiler, there have no more additional configuration.
./vendor/bin/testThe MIT License (MIT). Please see License File for more information.