Skip to content

igoralentyev/php-laravel-blade-syntax

Repository files navigation

True Laravel blade syntax highlight

PHP Laravel Blade Syntax is a Visual Studio Code extension that adds Blade syntax highlighting to the default PHP language mode.

Why this extension?

Unlike others, PHP Laravel Blade Syntax keeps the default PHP mode, preserving autocompletion and other PHP language features, while seamlessly adding Blade support.

Features

  • 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.

Installation

  • Remove all other blade extensions.
  • Install this

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published