定制 pointybeard/kickstarter-export-parser 二次开发

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

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

pointybeard/kickstarter-export-parser

最新稳定版本:1.0.12

Composer 安装命令:

composer require pointybeard/kickstarter-export-parser

包简介

A PHP library for opening and parsing backer exports from Kickstarter campaigns.

README 文档

README

Latest Stable Version License

Opens a backer data zip file downloaded from Kickstarter and parses it for consumption.

Installation

Kickstarter Export Parser is a utility library for inclusion in larger projects. Installation is best done via Composer. To install, use composer require pointybeard/kickstarter-export-parser or add "pointybeard/kickstarter-export-parser": "~1.0" to your composer.json file.

Usage

Here is a basic example of how to use this library:

use pointybeard\Kickstarter\ExportParser\Lib;

$archive = new Lib\BackerArchive(
    "/PATH/TO/KICKSTARTER/EXPORTED/DATA/HERE.zip"
);

foreach($archive->rewards() as $r){
    do{
        $record = $r->records()->current();

        // ... do stuff with $record ...

        $r->records()->next();
    } while($r->records()->valid());
}

$archive->close();

Running the Test Suite

You can check that all code is passing by running the following command from the kickstarter-export-parser folder:

./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/

If you want to run code coverage (e.g. --coverage-html tests/reports/ ...) you'll need xdebug. To install this, use the following commands:

pecl channel-update pecl.php.net
pecl install xdebug

Support

If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.

Contributing

We encourage you to contribute to this project. Please check out the Contributing documentation for guidelines about how to get involved.

License

"Kickstarter Export Parser" is released under the MIT License.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固