with mysql pgsql intl support
$ brew install php --with-apache --with-mysql --with-pgsql --with-intl
date.timezone = Europe/Vienna
$ composer global require phpunit/phpunit | |
$ composer global require phpunit/dbunit | |
$ composer global require phing/phing | |
$ composer global require phpdocumentor/phpdocumentor | |
$ composer global require sebastian/phpcpd | |
$ composer global require phploc/phploc | |
$ composer global require phpmd/phpmd | |
$ composer global require squizlabs/php_codesniffer | |
This will install PHPUnit and all its dependencies into the ~/.composer/vendor/ directory and, most importantly, the phpunit CLI tools are installed into ~/.composer/vendor/bin/. |
[user] | |
name = foo bar | |
email = [email protected] | |
[credential] | |
helper = osxkeychain | |
[push] | |
default = simple | |
[user] | |
name = Konrad Pawlikowski | |
email = [email protected] |
[user] | |
name = Konrad Pawlikowski | |
email = [email protected] | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = green | |
remote = yellow | |
[color "diff"] |
#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for live environment!
I hope it's a help also for you!
#Installation stack
Install git:
sudo apt-get install git
Configure Git:
touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"
git config --global user.email "Your Email"