# shufo/vscode-blade-formatter

An opinionated Blade file formatter for VSCode

Repository: https://github.com/shufo/vscode-blade-formatter
Canonical: https://ross.abutalabs.com/products/vscode-blade-formatter
Homepage: https://marketplace.visualstudio.com/items?itemName=shufo.vscode-blade-formatter
Language: TypeScript
License: MIT
License Family: permissive
Topics: laravel, vscode, vscode-extension, formatter
Last push: 2026-08-26T02:47:56+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 76, longevity 100
- inputs: {"age_days": 2234, "days_push": 7, "days_rel": 161, "gap_med": 23, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5211, forks 43 (observed 2026-08-28T04:09:13.049513+00:00)

## What it is
A VSCode extension that formats Laravel Blade template files with opinionated defaults. It indents markup inside Blade directives, normalizes template marker spacing, supports PHP 8 syntax, and can sort Tailwind CSS classes.

## Use cases
- format blade template files in vscode
- auto-indent laravel blade directives
- sort tailwind css classes in blade templates
- consistent formatting for laravel views
- format blade files with php 8 syntax
- enforce PSR-2 style inside blade directives

## When to choose
- you write Laravel Blade templates in VSCode and want automatic, consistent formatting
- you want Tailwind class sorting integrated into your Blade formatting
- you need PHP 8 syntax support when formatting templates

## When to avoid
- you don't use VSCode (use the underlying blade-formatter CLI instead)
- you need formatting for template engines other than Blade
- you want a fully unopinionated formatter with no defaults

## Facets
- artifact type: plugin
- maturity: active
- function: formatter, developer-tools
- domain: web-development, developer-tools, text-editors
- platform: editor-plugin, cross-platform
- tags: laravel, blade, vscode-extension, tailwind-css, code-formatting, php

## Member repositories
- shufo/vscode-blade-formatter (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:13.049513+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:00:11.981324+00:00, confidence not recorded.
  - readme: https://github.com/shufo/vscode-blade-formatter (fetched 2026-08-28T04:09:13.049513+00:00, sha ee0e220709e6)
  - homepage: https://marketplace.visualstudio.com/items?itemName=shufo.vscode-blade-formatter (fetched 2026-08-29T08:55:28.436814+00:00, sha 7781f4ca7fe6)
  - site_page: https://code.visualstudio.com/docs/supporting/faq (fetched 2026-08-29T08:55:28.446766+00:00, sha 120e65225e79)
- Data as of 2026-08-30T08:39:29.467469+00:00.
