Level 50
Use HTML entities
{{ '{{' . $var . '}}' }}
or Just add the @ symbol before the curly braces.
@{{ This is displayed WITH the braces on each side }}
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I know that blade uses {{ $var }} to render string variables. But I want to print to screen double curly braces.
I want something like that: {{ '{{' . $var . '}}' }}.
How can I achieve it?
Please or to participate in this conversation.