ellipsesynergie / minify
This package contain some command to minify css and javascript. This package currently work only with Laravel 4.
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2019-07-25 19:34:23 UTC
README
This package contain some command to minify css and javascript. This package currently work only with Laravel 4.
Status
Documentation
##Installation
Begin by installing this package through Composer. Edit your project's composer.json
file to require ellipsesynergie/minify
.
{ "require": { "ellipsesynergie/minify": "dev-master" } }
Update your packages with composer update
or install with composer install
.
Once this operation completes, you need to add the service provider. Open app/config/app.php
, and add a new item to the providers array.
EllipseSynergie\Minify\MinifyServiceProvider
##Configurations
To configure the package to meet your needs, you must publish the configuration in your application before you can modify them. Run this artisan command.
php artisan config:publish ellipsesynergie/minify
##Available commands
Minify and packing CSS.
php artisan ellipse:minifycss
Minify and packing Javascript. (Required uglifyjs to work)
php artisan ellipse:minifyjs