Updated template to use PHP-DI