Use composer for PHP dependency management, update gitignore