Simple Javascript and CSS minify
add Dyumna/Minify to your laravel project
composer require dyumna/minify
add Dyumna\Minify\PackageServiceProvider::class,
in app/config.php
'providers' => [
/* ... */
Dyumna\Minify\PackageServiceProvider::class,
]
run php artisan vendor:publish --provider="Dyumna\Minify\PackageServiceProvider"
on terminal you laravel project
php artisan minify:js
to minify all javascript files
php artisan minify:css
to minify all css files
php artisan minify:build
to minify all css and javascript files