Skip to content

Commit

Permalink
Update install instructions and links to tools list
Browse files Browse the repository at this point in the history
  • Loading branch information
EHER committed Oct 4, 2013
1 parent 93f1a37 commit d42eab6
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,38 @@
#php-tools
Install php console tools with composer
Php console tools installed with composer

Tools included:
- php-cs-fixer
- phpcs
- phpwatch
- [php-cs-fixer][php-cs-fixer] - Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible)
- [phpcs][phpcs] - PHP_CodeSniffer tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards
- [phpwatch][phpwatch] - Command line client that allow you to run arbitrary shell commands whenever changes occur in a list of specified files

##How to install
##Install in 3 steps

1. Clone the repository
```bash
git clone https://github.com/EHER/php-tools.git ~/.php-tools
```

2. Download [composer]
```bash
cd ~/.php-tools
curl -sS https://getcomposer.org/installer | php
```

3. Install
```bash
php composer.phar install
```

##Configure Path

Add this to .bash_profile:

Add this to .bash_profile
```bash
export PATH="$PATH":~/bin
```

If you don't have a .bash_profile, just create it.

[php-cs-fixer]: https://github.com/fabpot/php-cs-fixer
[phpcs]: https://github.com/squizlabs/PHP_CodeSniffer
[phpwatch]: https://github.com/EHER/phpwatch
[composer]: http://getcomposer.org/

0 comments on commit d42eab6

Please sign in to comment.