timgavin/
quick-blade
g4t.io

Preview Blade Templates in macOS Finder with Quick Blade

19 views 13 stars by Paul Redmond

Select a .blade.php file in Finder and press space.

README from timgavin/quick-blade Open on GitHub →

Quick Blade

Quick Look previews for Laravel Blade templates. Select a .blade.php file in Finder, press Space, and you get the rendered page — layout resolved, compiled CSS applied — instead of a wall of raw directives.

More at quickblade.app.

Install

brew install --cask timgavin/tap/quick-blade

Then open Quick Blade once. macOS registers Quick Look extensions when the host app first launches, so this step isn't optional.

Requires macOS 15 or later.

What it does

When you preview a Blade file, Quick Blade walks up from the file to find the Laravel project root, then:

  • resolves the surrounding layout — <x-layouts.app> components, @extends, or a full-page Livewire component's layout
  • pulls in @includes and Blade components
  • inlines your compiled Vite CSS and local images, so the preview looks like your app
  • transpiles the directives: loops repeat their bodies, conditionals resolve to a single branch, and {{ }} echoes are filled with plausible fake data

Files outside a Laravel project (or without a layout) still render with a built-in stylesheet. Plain PHP files render as readable source, since Quick Look hands the extension every .php file.

Folder access

The extension reads the files next to the one you're previewing — the layout, the compiled CSS, the images they reference. Projects under ~/Herd, ~/Sites, or ~/Developer work with no setup. Desktop, Documents, Downloads, iCloud, and external volumes are protected by macOS, so the first preview there asks for permission. If you decline, macOS won't ask again — turn it back on in System Settings > Privacy & Security > Files and Folders > Quick Blade.

More troubleshooting at quickblade.app/support.

Building from source

The Xcode project is generated from project.yml with XcodeGen, so generate it first:

git clone https://github.com/timgavin/quick-blade.git
cd quick-blade
xcodegen generate
xcodebuild -scheme QuickBlade -configuration Debug build

Builds are unsigned by default, which is fine for development. To sign with your own certificate, create a Local.xcconfig next to Signing.xcconfig — the comments in that file explain it.

Run the tests with:

xcodebuild -scheme BladeQuickLookTests test

For a quick smoke test, build, launch the app once, then qlmanage -p TestFiles/welcome.blade.php.

License

MIT — see LICENSE.

The MIT license covers the code. It doesn't license the name "Quick Blade", the logo, or the app icon — those are mine. If you fork it, use your own name and artwork.

And please don't sell it. MIT lets you, so that's a request rather than a rule, but Quick Blade is free and I'd like it to stay that way.

More from the ecosystem

durable-workflow/
workflow
g4t.io
9 1,292

Durable Workflow: Long-Running Workflows for Laravel

Embedded durable workflow runtime and orchestration engine for Laravel applications.

durable-workflow/workflow via Laravel News
packstub/
session-replay
g4t.io
14 52

Session Replay for Laravel: Self-Hosted Browser Recordings

Session replay for Laravel: record what a person did in the browser with rrweb, keep the recording on your own disk and database, and watch it behind a gate you define — masked inputs by default, errors, failed Livewire requests and web vitals marked on the timeline, a link to the replay in every log line. packstub/filament-session-replay adds the sessions to a Filament panel.

packstub/session-replay via Laravel News
cyberwizard-dev/
schedule-catchup
g4t.io
17

Replay Missed Laravel Scheduled Tasks With Schedule Catchup

Schedule Catchup replays missed Laravel scheduled tasks after downtime, with opt-in recovery, bounded retries, and access to the original scheduled date.

cyberwizard-dev/schedule-catchup via Laravel News