08/2016 tarihine ait gönderiler

Installing PHP CodeSniffer (phpcs) on OS X

Installing PHP CodeSniffer (phpcs) on OS X

Installing PHP CodeSniffer (phpcs) on OS X

cd ~/

If is there “wget” command in your system. (You can install via Brew (HomeBrew)).

wget -nc https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar

or download via cURL

curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar

and then

sudo mv phpcs.phar /usr/local/bin/phpcs
sudo chmod +x /usr/local/bin/phpcs

https://github.com/squizlabs/PHP_CodeSniffer

Installing PHPUnit on OS X

Installing PHPUnit on OS X

Installing PHPUnit on OS X

cd ~/

If is there “wget” command in your system. (You can install via Brew (HomeBrew)).

wget -nc https://phar.phpunit.de/phpunit.phar

or download via cURL

curl -OL https://phar.phpunit.de/phpunit.phar

and then

sudo mv phpunit.phar /usr/local/bin/phpunit
sudo chmod +x /usr/local/bin/phpunit

https://phpunit.de/getting-started.html

Installing Behat on OS X

Installing Behat on OS X

Installing Behat on OS X

Behat is an open source Behavior Driven Development framework for PHP 5.3+. For details please visit http://docs.behat.org

cd ~/

If is there “wget” command in your system. (You can install via Brew (HomeBrew)).

wget -nc https://github.com/downloads/Behat/Behat/behat.phar

or download via cURL

curl -OL https://github.com/downloads/Behat/Behat/behat.phar

and then

sudo mv behat.phar /usr/local/bin/behat
sudo chmod +x /usr/local/bin/behat

https://github.com/Behat/Behat