xmlsquad / xml-authoring-tools
PHP控制台命令,用于管理xml文件。
v0.3.3
2018-10-15 07:59 UTC
Requires
- php: >=7.1
- symfony/console: ^3.4
- xmlsquad/capture-lookups: 0.3.3
- xmlsquad/gsheet-to-xml: 0.3.3
- xmlsquad/ping-drive: 0.3.3
- xmlsquad/xmlauthor-example-command: 0.3.3
Requires (Dev)
- phpunit/phpunit: ^7.1
Suggests
- xmlsquad/capture-lookups: Grabs Google Sheets and stores their data as CSV files
- xmlsquad/gsheet-to-xml: Outputs the contents in the form of Xml from Google Sheet or Google Drive folder of sheets
- xmlsquad/ping-drive: Reports its attempts at locating and reading the contents of a Google Drive folder or file
- xmlsquad/xmlauthor-example-command: To see example how to use AbstractCommand
README
这是一个composer库,包含用于构建和管理xml-authoring-project的工具。
大多数情况下,您将在xml编辑项目的上下文中运行这些工具。
先决条件
- Git
- PHP
5.5.9+
- 全局安装Composer
在xml-authoring-project中使用
-
将以下行放在项目的
composer.json
中"config": { "bin-dir": "bin" }
-
要求工具库
composer require xmlsquad/xml-authoring-tools
-
列出可用命令
bin/console
贡献
cd ~/ git clone https://github.com/xmlsquad/xml-authoring-tools.git cd xml-authoring-tools # Install composer install --dev # Make you own feature branch git checkout -b feature-XXX # Make changes with tests # ... # Make sure tests are passing vendor/bin/phpunit # Push your changes git push origin feature-XXX
测试
composer install --dev vendor/bin/phpunit