Laravel Packages
1 min read
Preview Blade Templates in macOS Finder with Quick Blade
Quick Blade is a native macOS QuickLook extension that renders syntax-highlighted previews of Laravel Blade templates directly within Finder and Spotlight.
Instant Blade Previews in macOS Finder
On macOS, selecting a file in Finder and tapping the Spacebar triggers QuickLook. However, files ending in .blade.php historically rendered as generic text icons without syntax highlighting. Quick Blade resolves this frustration for Mac-based Laravel developers.
Features of Quick Blade
- Full Blade Syntax Highlighting: Recognizes Blade directives (
@if,@foreach,@props), HTML tags, and embedded PHP blocks with crisp colors. - Light & Dark Mode Support: Automatically matches your macOS system appearance.
- Zero Performance Impact: Built natively using Swift and Apple's QuickLook framework for instantaneous opening with zero latency.
# Install Quick Blade via Homebrew Cask
brew install --cask quick-blade
# Restart Finder QuickLook service
qlmanage -r