Both of them are OK. If you use PHP, you won't deal php-js conversion. Php mustache instance keeps you from conversion.
Note: A note for your MVC usage:
Mustache is logicless template. This means you need to prepare your data structure in controller and pass it to the view. Do not use filtering, conditioning, controlling structures on your view.