smarty from composer