承接 egyg33k/csv-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

egyg33k/csv-bundle

最新稳定版本:1.0.1

Composer 安装命令:

composer require egyg33k/csv-bundle

包简介

Integration of League CSV into Symfony

关键字:

README 文档

README

Software License Build Status Total Downloads Latest Stable Version

This bundle is integration for League/Csv in Symfony

System Requirements

You need PHP >= 5.5.0 and the mbstring extension to use Csv but the latest stable version of PHP/HHVM is recommended.

Install

Via Composer

$ composer require egyg33k/csv-bundle

Usage

# Reader
$reader = $this->container->get('egyg33k.csv.reader');
$csv = $reader::createFromPath('/home/egyg33k/Desktop/org.csv');
var_dump($csv->fetchOne());
#Writer
$writer = $this->container->get('egyg33k.csv.writer');
$csv = $writer::createFromFileObject(new \SplTempFileObject());
$csv->insertOne(['firstname', 'lastname', 'email']);
$csv->output('users.csv');

Documentation

http://csv.thephpleague.com/

Testing

$ phpunit

Security

If you discover any security related issues, please email me@amrsamy.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-30