Download the PHP package ptachoire/cssembed without Composer
On this page you can find all versions of the php package ptachoire/cssembed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ptachoire/cssembed
More information about ptachoire/cssembed
Files in ptachoire/cssembed
Download ptachoire/cssembed
More information about ptachoire/cssembed
Files in ptachoire/cssembed
Vendor ptachoire
Package cssembed
Short Description Css url embed library.
License MIT
Homepage https://github.com/krichprollsch/phpCssEmbed
Package cssembed
Short Description Css url embed library.
License MIT
Homepage https://github.com/krichprollsch/phpCssEmbed
Please rate this library. Is it a good library?
Informations about the package cssembed
PhpCssEmbed
PhpCssEmbed embed data uri in css part
Usage
Use embed css with a file
<?php
$pce = new \CssEmbed\CssEmbed();
echo $pce->embedCss( $css_file );
Or directly with css content
<?php
$pce = new \CssEmbed\CssEmbed();
$pce->setRootDir( '/path/to/files' );
echo $pce->embedString( $css_content );
Unit Tests
phpunit
Thanks
Files structure inspired by Geocoder from William Durand
All versions of cssembed with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package ptachoire/cssembed contains the following files
Loading the files please wait ....