Laravel .blade.php Extension not Recognized


In Laravel projects, this is a feature or a config, but…
All code in .blade.php is not idented, recognized as php!

How config this?

Hello there @Kidvoioman! Welcome to the forums!

Can you please provide a link to the Repl so we can help you?


This is a behavior and o saw this in a few laravels replits, not a specific ok?

I Will open a New, create a .blade.php file, put some code and… No identation, no PHP code…

Some laravels not use <?.. ? > in beging and and of file, this is the trigger?

Pehaps,this is not a bug, just a specific condition of laravels files without proper PHP tags…

Thanks… Fast to reply, cool!