Skip to content

pouete/readysetraphael

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Ready. Set. Raphael.

Raphaël JavaScript Library Converter

Ready. Set. Raphael. will convert contents from an SVG file to Raphaël JavaScript code.

Online Conversion Tool

Please visit www.readysetraphael.com to use our automatic converter for your projects.

Usage

<?php

$xml =  file_get_contents('sample.svg');


try {

    $svg = new SVGToRaphael( $xml );
    sleep(2);
    $svg->generateJs();

} catch (Exception $e) {

    echo $e->getMessage();

}

?>

License

Creative Commons License
Ready.Set.Raphael by http://www.thinkbi.gr is licensed under a Creative Commons Attribution 3.0 Unported License.
Based on a work at www.readysetraphael.com.

About

SVG to RaphaelJS Converter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%