Skip to content

Instantly share code, notes, and snippets.

View Preclowski's full-sized avatar
🍻

Konrad P Preclowski

🍻
  • Incred
View GitHub Profile
$ 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 = foo@bar.baz
[credential]
helper = osxkeychain
[push]
default = simple
[user]
name = Konrad Pawlikowski
email = k.pawlikowski@clearcode.cc

install php

with mysql pgsql intl support

$ brew install php --with-apache --with-mysql --with-pgsql --with-intl

set php timezone in php ini

date.timezone = Europe/Vienna
[user]
name = Konrad Pawlikowski
email = e@mail.com
[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

@Preclowski
Preclowski / post.md
Created June 15, 2013 21:52 — forked from kbond/post.md

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"