Use php config for deployment

If will use php config - we can using lambda function for before- and after- events