Laravel Blade
Laravel Blade Template syntax for Sublime Text
Details
Installs
- Total 462K
- Win 280K
- Mac 93K
- Linux 88K
| Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 3 | 4 | 3 | 9 | 5 | 3 | 3 | 3 | 4 | 7 | 7 | 0 | 10 | 8 | 7 | 2 | 5 | 4 | 7 | 5 | 7 | 6 | 6 | 7 | 4 | 6 | 4 | 13 | 4 | 2 | 5 | 5 | 11 | 4 | 6 | 9 | 3 | 6 | 9 | 8 | 15 | 8 | 6 | 4 | 9 | 4 |
| Mac | 1 | 2 | 0 | 1 | 3 | 2 | 0 | 1 | 1 | 2 | 1 | 1 | 6 | 3 | 3 | 1 | 1 | 2 | 6 | 4 | 2 | 2 | 2 | 0 | 3 | 4 | 3 | 2 | 3 | 0 | 1 | 2 | 3 | 1 | 0 | 1 | 0 | 2 | 2 | 0 | 1 | 6 | 4 | 2 | 1 | 2 |
| Linux | 4 | 2 | 3 | 5 | 6 | 2 | 1 | 4 | 3 | 4 | 4 | 2 | 1 | 6 | 2 | 3 | 4 | 4 | 2 | 3 | 5 | 3 | 3 | 0 | 2 | 6 | 2 | 4 | 4 | 1 | 4 | 4 | 4 | 4 | 4 | 2 | 0 | 2 | 3 | 6 | 1 | 6 | 6 | 3 | 4 | 4 |
Readme
- Source
- raw.githubusercontent.com
Blade
Laravel Blade Template syntax definitions for Sublime Text based on its HTML/CSS/JS syntaxes.

Installation
Package Control
The easiest way to install is using Package Control. It's listed as Laravel Blade.
- Open
Command Paletteusing ctrl+shift+P or menu itemTools → Command Palette... - Choose
Package Control: Install Package - Find
Laravel Bladeand hit Enter - Restart Sublime Text (e.g.: if A File Icons is installed)
- Reopen any
.bladefiles.
Manual Install
- Download or clone this repository into
[install-dir]/Packages/Laravel Blade - Restart Sublime Text (e.g.: if A File Icons is installed)
- Reopen any
.bladefiles.
[!NOTE]
Syntax from
mainbranch require Sublime Text 4.For Sublime Text 3 compatible version refer to
st3branch.
Supported Frontend Syntax
To use AlpineJS with Blade templates, 1. install AlpineJS package 2. follow instructions to create combined HTML (Blade, AlpineJS) syntax
Supported Extensions
Snippets
For Blade related snippets, please install Blade Snippets package.
Troubleshooting
§1 Syntax Definition Parse Errors
Blade extends Sublime Text's HTML syntax definition.
If Blade syntax highlighting doesn't work and console displays syntax errors in HTML (Blade).sublime-syntax, please make sure to remove any out-dated syntax override.
Steps:
- call Menu > Preferences > Browse Packages..
- Look for HTML folder
- Remove it or at least delete any syntax definition in it.
§2 Scripts are not correctly highlighted
Blade relies on JavaScript (source.js)
to scope script blocks and inline scripts.
Make sure to remove related out-dated syntax packages, which don't meet least compatibility requirements.
They can be identified by calling
e.g. sublime.find_syntax_by_scope("source.js") in ST's console.
Known candidates are:
Credits
It is a fork of great Medialink/Laravel Blade Highlighter.