How can I compile a blade template from a string rather than a view file, like the code below:
{{ $name }}\'; echo
I'm not using blade this way but I thought that the compile method accepts only a view as argument.
Maybe you're looking for:
Blade::compileString()