A JS and CSS minifier tool (with additional benefits for projects using template engines such as Smarty)
Minify is a JS and CSS minifier toolkit (with support for generating templates for engines such as Smarty)., (*1)
Its main features are:, (*2)
xxx-blah.css
where xxx
is a three digit ordering / sequence number;See the Example Usage section below., (*3)
Using Minify is as simple as copying the included minify-options.php.dist
to minify-options.php
and editing to suit you environment. Then run the script:, (*4)
./minify.php
A full destription of the available options is commented within minify-options.php.dist
and the script has a help option:, (*5)
./minify.php --help
"opensolutions/minify": "dev-master"
IXP Manager uses Minify. You can see IXP Manager's JS files here and its CSS files here., (*6)
The Minify script bundles the individual files into min.bundle-vX.css
and min.bundle-vX.js
files and also creates templates with logic for using the original uncompressed files or the compressed bundles in this file for CSS and this file for JS., (*7)
The configuration for generating these is here., (*8)
Do you use Minify? Do you want to get listed here? Drop us a note to info _at_ opensolutions _dot_ it
or open a pull request., (*9)
Copyright (c) 2010 - 2014, Open Source Solutions Limited, Dublin, Ireland, (*10)
Released under the BSD license:, (*11)
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:, (*12)
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE., (*13)
Minify includes two thirdparty tools:, (*14)