eher/php-tools
最新稳定版本:1.0.3
Composer 安装命令:
composer require eher/php-tools
包简介
README 文档
README
#php-tools Php console tools installed with composer
Tools included:
- composer - Dependency Manager for PHP
- faker - Faker is a PHP library that generates fake data for you
- pdepend - This tool shows you the quality of your design in the terms of extensibility, reusability and maintainability
- php-cs-fixer - Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible)
- phpcs - PHP_CodeSniffer tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards
- phpctags - An enhanced ctags compatible index generator written in pure PHP
- phpmd - PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD
- phpspec - SpecBDD Framework for PHP
- phpunit - The PHP Unit Testing framework
- phpwatch - Command line client that allow you to run arbitrary shell commands whenever changes occur in a list of specified files
- twig-lint - Twig-lint is a lint tool for your twig files
##Install in 3 steps
- Configure your Path to have a new bin folder
Create the bin folder
mkdir -p ~/bin
Add the new path to .bash_profile
export PATH=~/bin:"$PATH"
If you don't have a .bash_profile, just create it.
Don't forget to call your .bash_profile to update the Path
. ~/.bash_profile
- Install and configure composer
cd php -r "readfile('https://getcomposer.org/installer');" | php -- --install-dir=bin --filename=composer composer config -g bin-dir ~/bin
- Add php-tools to global composer
composer global require eher/php-tools
##Upgrading
To upgrade php-tools to latest version run
composer global update eher/php-tools
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD
- 更新时间: 2014-12-06