定制 allankiezel/ready-set-raphael 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

allankiezel/ready-set-raphael

Composer 安装命令:

composer require allankiezel/ready-set-raphael

包简介

Ready Set Raphael SVG Parser

README 文档

README

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.

统计信息

  • 总下载量: 22
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 28
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 28
  • Watchers: 5
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-03