I have been using Grunt with Handlebars and Assemble.io, SASS but I will need to work with PHP pages and database so I am looking for a great tool like Grunt which allows me to use PHP pages / MySql database.
Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It only takes a minute to sign up.Sign up to join this community
I think Phing is a good choice but why don't you use Grunt for PHP as well? Why would you pick a new tool only for PHP?
(you could install grunt-php, grunt-phpunit, grunt-phpmd, grunt-phpspec, grunt-phplint and so on ... you might start with this)
List of useful links to integrate grunt with Yii: