Can Laravel Blade be used in a sandbox environment?

Can Laravel Blade be used in a sandbox environment, like the Twig sandbox extension?

I have a need to allow users to use the template system, but obviously they do not want them to execute arbitrary PHP code on the server.

I would like to use Blade as it is already part of Laravel, but I suspect that this is not possible.

+4
source share
1 answer

By default, there is no short answer.

Perhaps you could implement this yourself by using the advanced blade to add custom features. See Blade Documentation .

0
source

All Articles