承接 florianeckerstorfer/console-import-standard-edition 相关项目开发

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

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

florianeckerstorfer/console-import-standard-edition

Composer 安装命令:

composer create-project florianeckerstorfer/console-import-standard-edition

包简介

A boilerplate for console-based data import scripts

README 文档

README

A boilerplate for console-based data import scripts using symfony/console and ddeboer/data-import.

Installation

You need Composer to create a new data import script:

$ curl -s http://getcomposer.org/installer | php

After you have installed Composer you can create a new project using the following command:

$ php composer.phar create-project florianeckerstorfer/console-import-standard-edition path/to/install

The sample classes provided in this project reside in the Acme\DemoImport namespace. However, since this project uses PSR-4 I can place the classes directly in the src/ directory. Currently only the Command directory contains a file and you should open it and change the namespace according to your needs. You also have to adapt the namespace in composer.json in the autoload.psr-4 option.

Usage

After implementing your import logic in a command you can run the application:

$ php bin/app.php

This will give you a list of all available commands. The demo command is called import and you need to call it the name of a CSV file.

$ php bin/app.php import ~/my-data.csv

Adding Additional Commands

You can add additional commands to the application by creating a command and adding it to the application. Learn more about creating commands in the Console documentation.

# bin/app.php

$console->add(new \Acme\DemoImport\Command\ImportCommand());
$console->add(new \Acme\DemoImport\Command\OtherCommand());

Author

Developed by Florian Eckerstorfer in Vienna, Europe. I am @Florian_ on Twitter. I post updates for my open source projects using the Twitter handle @braincrafted.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-08-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固