I built a way to write PHP alongside your frontend @aarondfrancis
I built a way to write PHP alongside your frontend  @aarondfrancis
Uploaded February 2025 | Updated September 2026, 14 hours ago
Introducing Fusion: Seamlessly combine React and Vue with Laravel. I built a way to write PHP inside Vue & React components—and it actually works. No routes, no controllers, just instant backend-to-frontend magic in your Laravel app. Fusion bridges the gap between PHP and JavaScript like never before. Watch as I demo its power, from hot module reloading to full two-way state sync, all without leaving your Javascript file. This is Laravel + JavaScript like you've never seen before.

Support the development of Fusion: aaronfrancis.com/backstage
Fusion GitHub repository: github.com/fusion-php/fusion (Note: this is a developer preview -- still has some rough edges, but we must ship! Hope you like it!)

Follow me:
Twitter: twitter.com/aarondfrancis
LinkedIn: linkedin.com/in/aarondfrancis
Website: aaronfrancis.com - find articles, podcasts, courses, and more.

Chapters:
00:00 - Mind-Blowing PHP in Javascript! 🤯
00:48 - Writing PHP Inside a Javascript Component?!
01:16 - What is Fusion? A Laravel + JavaScript Revolution
02:00 - No Routes, No Controllers—Just Magic ✨
02:48 - File-Based Routing & Route Model Binding
04:08 - Reactive Props and State Syncing
05:00 - Full Laravel Database Queries in Vue
06:26 - Automatic Type Safety (Coming Soon!)
07:14 - Seamless Error Handling for PHP & Vue
08:08 - Real-Time Search with Two-Way Data Flow
10:06 - Fusion's Built-In Loading & Success States
12:00 - Exposing PHP Functions Directly to Vue
14:00 - Alternative Syntax for PHP Purists
17:00 - The Future of Fusion: React, Svelte & More
19:32 - How to Get Involved & Support Fusion
I built a way to write PHP alongside your frontendSQL for fun and profitSQLite is not weakly typed!Laravel tip: Higher order collection proxies (and Zevia)Welcome to Token TownAre designers cooked?The Music Makers Podcast - 002 - What Have You Tried?Using a browser agent on the worst government websiteThe Music Makers Podcast - 032 - No Time For Something Important? Try Waking Up Earlier.Vectors in SQLite! (with libSQL)The Music Makers Podcast - 025 - A Little Bit of Slope Makes Up For a Lot of Y-InterceptI made $10,000 from a vibecoded app
Aaron Francis |

I built a way to write PHP alongside your frontend

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER