For autodeploy in phprest