PHP support in Wappler AI Manager

I am not having much luck with PHP projects. I love its potential, but frustrated with sporadic results even though I explicitly stated PHP in the prompts and the server model setting is set to PHP. Here are random results:

  • Generates files inside app directory instead of www directory if PHP is not specified in the prompts.
  • Generates node files instead of PHP files.
  • Generates node layouts.
  • Generates lib, views directories on the same level as www.
  • Generates modules instead of Wappler server connect APIs.

On occasions, it would be stuck at a step even though it has been at it all night long.

After completion, I have to remember to click the Refresh icon to see the newly generated files in Server Connect panel.

What am I doing wrong?

Using RC3.

We still have to add more specific rules for php projects. Currently we have covered NodeJS fully, php is coming up

2 Likes

Also what AI model are you using?

Claude 3.7 Sonnet

In RC4, files in dmxConnect are not generated in the Web Root Folder.

Here is the directory structure.

.wappler
dmxConnect
www

This does not seem related to this topic, please make a new topic and explain more in detail.

This was implemented in Wappler 7