Laravel News
Read post

Blade Formatting in Laravel Pint

Laravel Pint 1.30.0 introduces Blade template formatting via a new --blade flag, which runs .blade.php files through Prettier using the prettier-plugin-blade plugin. The feature supports Alpine attributes, Livewire wire: bindings, Flux components, and Tailwind class sorting. Node.js and three npm packages are required; Pint handles missing dependencies by detecting the package manager and offering to install them. Certain file categories (Envoy tasks, mail views, Boost guidelines) are excluded to avoid output changes. The release also fixes --diff to include renamed files, corrects --quiet to write violations to stderr instead of dropping them, and adds an in key to pint.json for restricting scanned directories. Blade formatting is fully opt-in with no breaking changes.

    #php
Jul 30•3m read time•From laravel-news.com
Post cover image
Table of contents
# What's New# Upgrade Notes# References
15.6K Impressions
Laravel News's image
Laravel News

2.2K Followers

•

14.8K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard