Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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

try {

    $xml =  file_get_contents([path_to_svg);

    $svg = SVG::getInstance([optional_js_var_name);
    $svg->setSVG($xml);

    $parser = new Parser($svg->getSVG());
    $parser->init();

} catch (Exception $e) {

    echo $e->getMessage();

}

?>

License

Creative Commons License
Ready. Set. Raphael. 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

Packages

No packages published

Languages