Format Blade Templates with Laravel Pint v1.30.0

Punyapal Shah
Laravel Pint v1.30.0 adds native Blade template formatting via the Pint/laravel_blade rule, using Prettier under the hood.

Blade gets opinionated formatting in Pint, keeping your markup consistent without manual tweaking.

./vendor/bin/pint --blade
  • Requires Node.js (Prettier runs under the hood)
  • Pint auto-detects package manager for dependency installation
  • Blade formatting is opinionated: consistent output, zero config debates
Tags: #Laravel #Pint #Blade
Share on X

// Found an issue or want to contribute a tip? github.com/MrPunyapal/tips