Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

phildawson's avatar

@cloudstudio That sounds like it either is being changed and search the code for setRawTags, or if you find no results then it's still using 4.x and {{{ }}}. If that is the case remove the vendor folder and run composer install

cloudstudio's avatar

I have this in AppServiceProvider.php

public function boot() { parent::boot(); \Blade::setRawTags('[[',']]'); }

Just this

phildawson's avatar

Ah so that's it! :) Your raw tags had been set to double square brackets! Drunken or late night coding?

[[ $company->title ]]
[[ $company->image ]]
[[ $company->description ]]

Just remove that line from boot() if you don't want that and update any templates using square brackets back to {!! !!}

cloudstudio's avatar

Removed and work correctly, i dont know :/

I Install Laravel with composer:

composer create-project laravel/laravel --prefer-dist

Well all done, thanks you man :)

Previous

Please or to participate in this conversation.