laravel-view-shrinker maintained by hidehalo
Laravel view shrinker
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.