Added php/ and some tests
Updated .gitignore