keboola/php-csvtable
最新稳定版本:2.2.0
Composer 安装命令:
composer require keboola/php-csvtable
包简介
CSV file class with Keboola StorageApi extensions
关键字:
README 文档
README
Description
A class that extends Keboola\CsvFile functionality by adding Keboola StorageApi Attribute and PrimaryKey variables
Usage
use Keboola\CsvTable\Table; $table = new Table('name', ['id', 'column', 'names']); $table->writeRow(['1','row','data']); $table->addAttributes(['created_by' => $username]); $table->setPrimaryKey('id');
Result:
id,column,names "1","row","data"
Development
Clone this repository and init the workspace with following command:
git clone https://github.com/keboola/php-csvtable.git
cd php-csvtable
docker-compose build
docker-compose run --rm dev composer install --no-scripts
Run the test suite using this command:
docker-compose run --rm dev composer tests
License
MIT licensed, see LICENSE file.
统计信息
- 总下载量: 14.04k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 7
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-10-01