Template durandal config to PHP