2017 © Pedro Peláez
 

library cssembed

Css url embed library.

image

ptachoire/cssembed

Css url embed library.

  • Friday, June 10, 2016
  • by krichprollsch
  • Repository
  • 2 Watchers
  • 15 Stars
  • 1,022,427 Installations
  • PHP
  • 29 Dependents
  • 12 Suggesters
  • 9 Forks
  • 3 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

PhpCssEmbed

PhpCssEmbed embed data uri in css part, (*1)

Build Status Scrutinizer Code Quality, (*2)

Usage

Use embed css with a file, (*3)

<?php
    $pce = new \CssEmbed\CssEmbed();
    echo $pce->embedCss( $css_file );

Or directly with css content, (*4)

<?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, (*5)

The Versions

10/06 2016

dev-master

9999999-dev https://github.com/krichprollsch/phpCssEmbed

Css url embed library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Pierre Tachoire

css url

22/07 2013

v1.0.2

1.0.2.0 https://github.com/krichprollsch/phpCssEmbed

Css url embed library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Pierre Tachoire

css url

29/04 2013

v1.0.1

1.0.1.0 https://github.com/krichprollsch/phpCssEmbed

Css url embed library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Pierre Tachoire

css url

29/11 2012

v1.0.0

1.0.0.0 https://github.com/krichprollsch/phpCssEmbed

Css url embed library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Pierre Tachoire

css url