Is there any way to configure Yeoman (latest version: v0.9.6) to serve php files?
I found this http://fgnass.github.com/2012/08/30/yeoman.html but couldn't get it working.
Installed https://github.com/fgnass/gateway, https://github.com/fgnass/tamper and made the required updates to Yeoman as shown here: https://github.com/fgnass/yeoman/commit/39faa07375ee49d56bd50d334dcfd6b5a4e96292.
All i got is the browser downloading each php file instead of rendering it.
Any help is greatly appreciated!
EDIT:
Yeoman 1.0 has been launched. I haven't tried using php with it yet but would still like to know if it is possible.
I just wrote a blog post on Using Yeoman 1.0beta3 with PHP. It seems http://fgnass.github.com/2012/08/30/yeoman.html is not updated for yeoman 1.0.
My code is available on Github. You can look into the git commit for the whole set of changes required for serving php files.
Currently I updated only for connect/livereload tasks. I am working on updating it for build, usemin and other tasks.
UPDATE : 1
It seems there is an easy workaround with grunt-php.
I haven't used it, but will update once I used it.
Thanks,
Revath
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With