2017 © Pedro Peláez
 

library cssoptimizer

Optimizes & minifies css files or strings.

image

jelle-s/cssoptimizer

Optimizes & minifies css files or strings.

  • Monday, April 9, 2018
  • by Jelle-S
  • Repository
  • 1 Watchers
  • 1 Stars
  • 77 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

CssOptimizer

Optimizes CSS (combines duplicate selectors, extracts duplicate css properties and values, minifies the css)., (*1)

Render minified CSS:, (*2)

$optimizer = new Jelle_S\CssOptimizer\CssOptimizer($css);
file_put_contents('style.min.css', $optimizer->renderMinifiedCSS());

Render SCSS from your css:, (*3)

$optimizer = new Jelle_S\CssOptimizer\CssOptimizer($css);
file_put_contents('style.scss', $optimizer->renderSCSS());

This code is open source (GPL-3.0), however, if you like this class and you would like to sponsor the developer (me), feel free to paypal., (*4)

The Versions

09/04 2018

dev-master

9999999-dev

Optimizes & minifies css files or strings.

  Sources   Download

GPL-3.0+

The Requires

 

by Jelle Sebreghts

26/12 2016

1.0.0

1.0.0.0

Optimizes & minifies css files or strings.

  Sources   Download

GPL-3.0+

The Requires

 

by Jelle Sebreghts