javanile/vtiger-client
最新稳定版本:0.1.0
Composer 安装命令:
composer create-project javanile/vtiger-client
包简介
README 文档
README
vtiger-client
LOOKING FOR FAST DEMO! Visit --> https://github.com/javanile/vtiger-demo <--
Get Started
composer require javanile/vtiger-client
<?php use Javanile\VtigerClient\VtigerClient; $client = new VtigerClient('http://my-vtiger-host'); $client->login('<<username>>', '<<accessKey>>'); $cliet->create('Leads', [ 'email' => '<<lead@email>>' ]);
Command-line usage
Intall
curl -sLo vtc https://github.com/javanile/vtiger-client/releases/download/0.1.0/vtc.phar chmod +x vtc sudo mv vtc /usr/local/bin/ vtc
Usage
vtc query "SELECT * FROM Contacts"
Test
Before test
docker-compose run --rm composer install
Test all
docker-compose run --rm phpunit tests
Test driven development
docker-compose run --rm phpunit tests --stop-on-failure
Run single test method
docker-compose run --rm phpunit tests --filter '/::testMethod/'
统计信息
- 总下载量: 2.89k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 13
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-08-03