We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

How Phalcon tool generate views in Volt template

Dear all,

I use Phalcon tool command [scaffold] to generate CRUD for a table. But views are in .phtml file. But in the latest guideline, Views use .volt file.

I wonder I don't use the latest version of Phalcon tool so the tool can not generate .volt template for view. Please help me to verify.

Thanks, Nam

I've just create scaffold with option --template-engine=volt then it now generates to .volt.

Thanks, Nam



43.9k

Hi,

accept your own answer so that the post appears as solved.

Wish all the best development with phalcon framework.