krbv / minifyit
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/krbv/minifyit
Requires (Dev)
- oyejorge/less.php: ~1.5
This package is not auto-updated.
Last update: 2025-10-20 19:55:30 UTC
README
Install
composer require krbv/minifyit
or
"require": { "krbv/minifyit": "0.1.*" }
config/app.php
'providers' => [ Krbv\Minifyit\MinifyitServiceProvider::class ];
Usage
$this->minifyit = \App::make('minifyit'); $this->minifyit->setCSS( ['/css/style.css','/css/form.css'], // will be merged in one new file. '/css/single.css' ); $this->minifyit->setJS( \* the same *\ );
CSS is going to appear before "" JS before ""
For personal settings
php artisan vendor:publish
Config: /config/minifyit.php Views: /view/vendor/minifyit/css.html /view/vendor/minifyit/js.html