Skip to content

A PHP CLI minification tool for CSS and JavaScript.

Notifications You must be signed in to change notification settings

kokushta/CLI-Minify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI Minify

This is a PHP CLI minification tool for CSS and JavaScript. It uses Matthias Mullie's minify library as an engine.

Installation/Usage

  1. Grab the build/minify.phar archive
  2. Make it global: cp build/minify.phar /usr/local/bin/minify && sudo chmod +x /usr/local/bin/minify
  3. Create a minify.ini on your project. Follow the sample file.
  4. Run minify

Build from Source

  1. Clone or download the repo and cd into it
  2. Run: php build.php
  3. Follow the installation guide above

Road Map

  • Introduce configurability from the minify.ini file.
  • Introduce autoload

License

PHP CLI Minify is MIT licensed.

About

A PHP CLI minification tool for CSS and JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages