padaliyajay/php-autoprefixer

CSS Autoprefixer written in pure PHP.

Installs: 1 365 696

Dependents: 5

Suggesters: 0

Security: 0

Stars: 28

Watchers: 7

Forks: 6

Open Issues: 1

Language:CSS

1.3 2019-11-26 09:55 UTC

This package is auto-updated.

Last update: 2021-07-22 16:26:46 UTC


README

CSS autoprefixer written in pure PHP

Installation

Simply add a dependency on padaliyajay/php-autoprefixer to your composer.json file if you use Composer to manage the dependencies of your project:

composer require padaliyajay/php-autoprefixer

Although it's recommended to use Composer, you can actually include these files anyway you want.

Usage

use Padaliyajay\PHPAutoprefixer\Autoprefixer;

$unprefixed_css = file_get_contents('main.css'); // CSS code

$autoprefixer = new Autoprefixer($unprefixed_css);
$prefixed_css = $autoprefixer->compile();

License

MIT licensed.

Donate & Support

PayPal.me