Upgrad PHP framework ORM Doctrine Smarty