M
M
m0nclous2019-03-13 14:27:29
Template Engines
m0nclous, 2019-03-13 14:27:29

How to limit template engine in Laravel?

Is it possible to do something in such a way as to give access to the application templates to the layout designer, but so that he does not have access to pure PHP, so that he cannot climb into the models, make requests through the template, but can only use the data that was transferred to the template, for example via compact in view()?
I think this cannot be done through the blade, at least I did not find it in Google and the documentation, but maybe you can install another template engine?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-03-13
@m0nclous

use twig.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question