Published 3 months ago by mstdmstd
In my laravel 5.6 application I need to install mustache.php library I googled and find this link: https://github.com/bobthecow/mustache.php/wiki
I added a line inyo my composer.json :
But have I to add this provider into config/app.php ? If yes, which syntax? How correctly to attach mustache.php to my app ?
No, it's not a laravel package so there isn't a laravel service provider for it. You'd just use it like normal (like the docs show).
Not sure how it will conflict with laravel's blade template engine though, since it uses the same syntax. I think you'll run into problems using this. It will probably be fine if you don't use it in a .blade.php view, but then you can't use blade either.