websharks / css-minifier
Compresses CSS.
Installs: 1 369 817
Dependents: 3
Suggesters: 1
Security: 0
Stars: 18
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=5.3
- ext-mbstring: *
This package is not auto-updated.
Last update: 2024-12-10 04:29:26 UTC
README
CSS minifier (i.e., compressor).
Installation Instructions (Two Options)
- As a Composer Dependency
{ "require": { "websharks/css-minifier": "dev-master" } }
- Or, Download the PHAR Binary See: https://github.com/websharks/css-minifier/releases
Usage Example
$css = '.hello { font-family: World; }'; $compressed_css = WebSharks\CssMinifier\Core::compress($css);