ltd-beget/php-vim
最新稳定版本:v0.0.5
Composer 安装命令:
composer require ltd-beget/php-vim
包简介
Console helper for php to open vim in script, gives it control and returns control to script after close vim
关键字:
README 文档
README
Console helper for php to open vim in script, gives it control and returns control to script after close vim
Installation
composer require ltd-beget/php-vim
Usage
<?php use LTDBeget\vim\Options; use LTDBeget\vim\Vim; require(__DIR__ . '/vendor/autoload.php'); $vim = new Vim( (new Options())->setDiffMode(true)->setReadonlyMode(true) ); $vim->addFileContent('a.txt', 'some text')->addFileContent('b.txt', 'some text2')->execute(); $vim = new Vim; $vim->addFileContent('a.txt', 'some text')->execute(); $vim->getContent('a.txt');
Developers
Regenerate documentation
$ ./vendor/bin/phpdox
Run tests
$ wget https://phar.phpunit.de/phpunit.phar
$ php phpunit.phar --coverage-html coverage
$ php phpunit.phar --coverage-clover coverage.xml
License
released under the MIT License. See the bundled LICENSE file for details.
统计信息
- 总下载量: 7.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-28