dyumna / minify
There is no license information available for the latest version (1.0.3) of this package.
Simple Css/Javascript minify
1.0.3
2021-07-10 07:00 UTC
Requires
- php: ^7.2.5 || ^8.0
- illuminate/support: ^6.0 || ^7.0 || ^8.0
README
Simple Javascript and CSS minify
First
add Dyumna/Minify to your laravel project
composer require dyumna/minify
Two
add Dyumna\Minify\PackageServiceProvider::class,
in app/config.php
'providers' => [
/* ... */
Dyumna\Minify\PackageServiceProvider::class,
]
Three
run php artisan vendor:publish --provider="Dyumna\Minify\PackageServiceProvider"
on terminal you laravel project
Four
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