PHP Laravel Blade Syntax is a Visual Studio Code extension that adds Blade syntax highlighting to the default PHP language mode.
Unlike others, PHP Laravel Blade Syntax keeps the default PHP mode, preserving autocompletion and other PHP language features, while seamlessly adding Blade support.
- Blade expressions:
{{ ... }}
and{!! ... !!}
. - Blade directives: Supports block (
@if
,@foreach
, etc.) and inline directives (@csrf
,@method
). - Blade comments:
{{-- ... --}}
are properly highlighted. - Fully integrated with PHP mode: No need to switch to a separate "Blade" mode.
- Remove all other blade extensions.
- Install this