Package Data | |
---|---|
Maintainer Username: | Krbv |
Maintainer Contact: | iakorobov@gmail.com (Igor Korobov) |
Package Create Date: | 2016-12-21 |
Package Last Update: | 2017-01-28 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-12-24 15:05:08 |
Package Statistics | |
---|---|
Total Downloads: | 26 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 0 |
Total Forks: | 0 |
Total Open Issues: | 0 |
composer require krbv/minifyit
or
"require": {
"krbv/minifyit": "0.1.*"
}
config/app.php
'providers' => [
Krbv\Minifyit\MinifyitServiceProvider::class
];
$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 ""
php artisan vendor:publish
Config: /config/minifyit.php Views: /view/vendor/minifyit/css.html /view/vendor/minifyit/js.html