williamsantana/tableforshell
Composer 安装命令:
composer require williamsantana/tableforshell
包简介
Print HTML tables (and so on) on shell enviroments
README 文档
README
Class for printing HTML tables in command prompt (shell, bash, cmd, etc).
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
What things you need to install the software and how to install them
PHP ^5.3
Installing
Via Composer
curl -s http://getcomposer.org/installer | php
php composer.phar require williamsantana/tableforshell
Via GitHub Clone or download the package
https://github.com/WilliamSantAna/TableForShell.git
Usage
With hands-on a HTML Table you can do something like this:
$htmlString = file_get_contents('some-html-table.html');
$TableForShell = new TableForShell();
$TableForShell->tableHTMLToShell($htmlString);
Via shell you can run by simply:
php
Running the tests
This package can be tested using PHPUnit
Just run below code in your enviroment. But, don't worry. I promise to make it functional.
vendor\bin\phpunit
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Authors
- William SantAna - Initial work - WilliamSantAna
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-17