theshopworks/git-php-wrapper
最新稳定版本:v0.7
Composer 安装命令:
composer require theshopworks/git-php-wrapper
包简介
A PHP wrapper for the Git version control system.
README 文档
README
A PHP wrapper for the Git version control system.
Installation
Add the git package to your composer.json file.
{
"require": {
"theshopworks/git-php-wrapper": "^0.1"
}
}
Or via the command line in the root of your project.
$ composer require "theshopworks/git-php-wrapper:^0.1"
Docker
Build local container
docker build -t git-php-wrapper .
Use script
docker run --rm -v $(pwd):/app -w /app git-php-wrapper
Using Composer
docker run --rm -v $(pwd):/app -w /app git-php-wrapper php /usr/bin/composer
Code Style
docker run --rm -v $(pwd):/app -w /app git-php-wrapper php vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v && docker run --rm -v $(pwd):/app -w /app git-php-wrapper php vendor/bin/phpcbf -p
Tests
docker run --rm -v $(pwd):/app -w /app git-php-wrapper php vendor/bin/phpunit
Code Style
This project follows the following code style guidelines:
- PSR-2 & PSR-4 coding style guidelines.
- Some chosen PHP-CS-Fixer rules.
$ php vendor/bin/php-cs-fixer fix
Testing
$ php vendor/bin/phpunit
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 3.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-19