Deploy tool in PHP