4,000 emails/month for free | Mailtrap sends real emails now!

Liminal: A Browser-Based IDE for Laravel Powered by WebAssembly

Last updated on by

Liminal: A Browser-Based IDE for Laravel Powered by WebAssembly image

Liminal by Andrew Schmelyun is a browser-based IDE that lets you write, run, and preview Laravel applications entirely in the browser — no server setup, no local PHP installation required. It accomplishes this by running PHP 8.4 via WebAssembly.

What's Included

Once you have it running, you get a full development environment in a single browser tab:

  • Code editor — browse and edit files with syntax highlighting for PHP, Blade, JavaScript, TypeScript, JSON, and CSS (powered by CodeMirror 6)
  • Preview pane — navigate routes and see rendered HTML output, with Tailwind CSS v4 injected automatically
  • Terminal — run Artisan commands with command history
  • AI agent — an OpenAI-powered assistant that can read and write files and execute commands on your behalf
Liminal Code Agent
Liminal Code Window
Liminal Preview Window
Liminal App Preview Window
Liminal Terminal
Liminal Terminal Window
Liminal AI Agent
Liminal AI Agent Window
Liminal Tools
Liminal Tools Window

Getting Started

Liminal isn't a Composer package you pull into an existing project. Instead, you clone the repository and build it locally:

git clone https://github.com/aschmelyun/liminal
cd liminal
bun install
cd app
composer install --no-dev --optimize-autoloader
cd ..
bun run build
bun run preview

bun run build packages the Laravel application into public/app.zip, and runs type checking. bun run preview starts a local dev server and opens the IDE in your browser.

Sharing and Syncing

One of the more interesting features is shareable URLs. File changes are encoded directly into the URL, so you can share a link to a working example that anyone can open immediately in their own browser — no account or installation needed.

For local development, Liminal supports folder sync via the File System Access API, which mirrors the virtual filesystem to a directory on your machine. You can also import directly from a GitHub repository or export your work as a .zip file.

Limitations

Running PHP in WebAssembly comes with some trade-offs worth knowing about:

  • No external network access from PHP code
  • The pre-bundled vendor directory cannot be modified
  • SQLite only — no MySQL or PostgreSQL
  • Performance is slower than native PHP

Under the Hood

The project is built with Vue 3, TypeScript, Vite, Tailwind CSS v4, and CodeMirror 6. PHP runs in-browser via the @php-wasm/web-8.4 package.

It's an impressive proof of concept for what's possible with WebAssembly in the PHP ecosystem, and a handy tool for quick prototyping, live demos, or sharing reproducible Laravel examples without spinning up a full environment.

You can find the source on GitHub, or give it a try directly at liminal.aschmelyun.com.

Yannick Lyn Fatt photo

Staff Writer at Laravel News and Full stack web developer.

Filed in:
Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

image
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit

The latest

View all →
NativePHP v3.1: The Biggest Performance Leap Yet image

NativePHP v3.1: The Biggest Performance Leap Yet

Read article
Prompt Deck: Manage AI Prompts as Versioned Files in Laravel image

Prompt Deck: Manage AI Prompts as Versioned Files in Laravel

Read article
Laravel Prompts v0.3.15 Adds Streaming, Tasks, Autocomplete, and More image

Laravel Prompts v0.3.15 Adds Streaming, Tasks, Autocomplete, and More

Read article
Circuit Breaker for Laravel image

Circuit Breaker for Laravel

Read article
SlideWire: Build Presentations with Livewire and Blade image

SlideWire: Build Presentations with Livewire and Blade

Read article
Laravel 13 Released: PHP 8.3, Attributes, Laravel AI, and a Smoother Upgrade Path image

Laravel 13 Released: PHP 8.3, Attributes, Laravel AI, and a Smoother Upgrade Path

Read article