承接 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
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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