I need to store SMS template in database. Something like `Hello, {{ $userName }}`. 

Apparently it'd be a good solution to use blade templates here. However how can I retrieve sms template from database and compile it with some variables? The same way I do it with views when rendering blade templates but instead render it from database?