---
title: "Fusion: Write PHP inside your Vue and React components"
url: "https://aaronfrancis.com/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4"
path: "/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4"
type: podcast_episode
author: Aaron Francis
published: 2025-02-14
description: "Aaron Francis and Try Hard Studios just officially launched Fusion!"
keywords: [fusion, laravel, vue, react server components, inertia, react, component actions, testing fusion, security fusion, phstorm ide integration, full stack framework, batteries included backend]
show: Laravel Creator Spotlight
chunked: true
full_bytes: 33261
section_count: 10
full_url: "/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/full.md"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# Fusion: Write PHP inside your Vue and React components

## Show Notes

Aaron Francis and Try Hard Studios just officially launched Fusion!

"Fusion is the simplest way to combine your modern JavaScript frontend with your Laravel backend. Send state from your backend to your frontend, declare methods on the backend that can be called without API endpoints from your frontend. Fusion simplifies the process of working with JavaScript in Laravel, while still giving you full control and the full power of a batteries-included backend."

Read more about Fusion here: https://laravel-news.com/fusion

Chapters

@laravelnews on social: Instagram:  https://www.instagram.com/laravelnews/ Twitter: https://twitter.com/laravelnews Facebook: https://www.facebook.com/laravelnews LinkedIn: https://www.linkedin.com/company/laravel-news

All our screencasting gear: https://laravelnews.notion.site/Screencasting-f61e098852bf449c963473426841bfc4?pvs=25

➫ Business Inquires: hello@laravel-news.com ---------------------------------------------------------------------- JOIN OUR WEEKLY LARAVEL NEWSLETTER 👉 https://laravel-news.com/newsletter ----------------------------------------------------------------------

## Sections (32.5 KB full document — follow any link to read verbatim)

This page is long enough to hit agent truncation cliffs if fetched all at once. Pick the section matching your question below to read it 100% verbatim (< 35 KB each), or open the [full unsplit document (32.5 KB)](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/full.md).

### 1. The Genesis of Fusion: A New Approach to Development (00:00–06:13 · 6.6 KB)
Fusion is a new JavaScript and Laravel library that extends Inertia by allowing developers to write PHP directly in Vue/React components, designed to make full-stack development more approachable to frontend developers learning backend concepts.
Keywords: `javascript`, `fusion`, `genesis`, `inertia`, `meta framework`, `gotta create`, `vue`, `laravel`
[Read section 1 verbatim](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/sections/1-the-genesis-of-fusion-a-new-approach-to-develop.md)

### 2. Bridging the Gap: From Frontend to Backend Development (06:13–09:40 · 3.9 KB)
Frontend frameworks like Next.js and Remix approach full-stack development from the frontend backward, while Laravel starts from the backend forward; Fusion targets developers who want to build and ship products without getting distracted by tool configuration.
Keywords: `backend development`, `gap`, `javascript`, `bridging`, `frontend`, `backend`, `full stack`, `js`
[Read section 2 verbatim](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/sections/2-bridging-the-gap-from-frontend-to-backend-devel.md)

### 3. Navigating Backlash: Community Reactions to Fusion (09:41–11:23 · 1.7 KB)
Reddit and Vue.js communities initially rejected Fusion with backlash about returning to old PHP practices, but Aaron remained unfazed after realizing most critics hadn't understood that Fusion uses syntactic sugar to compile PHP into controllers, not mixing PHP templating with Vue.
Keywords: `community reactions`, `navigating backlash`, `backlash`, `community`, `reactions`, `fusion`, `vue`, `php`
[Read section 3 verbatim](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/sections/3-navigating-backlash-community-reactions-to-fusi.md)

### 4. Structuring Functions: Best Practices in Fusion (11:23–14:20 · 3.1 KB)
The PHP block in Fusion views acts as a thin controller; complex logic like publishing podcasts should be extracted into Laravel action classes and injected via the container, keeping the view-level PHP focused and maintainable.
Keywords: `best practices`, `fusion`, `structuring functions`, `structuring`, `functions`, `practices`, `barnes`, `php`
[Read section 4 verbatim](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/sections/4-structuring-functions-best-practices-in-fusion.md)

### 5. Testing in Fusion: Ensuring Quality and Reliability (14:20–16:48 · 2.7 KB)
Fusion testing works via Pest and PHPUnit by running the build step first to generate PHP classes on disk, then testing endpoints as you would any Inertia app; deployment to Laravel Cloud and testing behave like standard Laravel applications.
Keywords: `ensuring quality`, `testing`, `fusion`, `javascript`, `quality`, `reliability`, `test`, `php`
[Read section 5 verbatim](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/sections/5-testing-in-fusion-ensuring-quality-and-reliabil.md)

### 6. Future Roadmap: What's Next for Fusion? (16:49–18:22 · 1.7 KB)
React support is not ready for the initial launch; Miguel Pierrefeu and Nick from the Fusion Slack group are already experimenting with React implementation patterns, so the feature will arrive in future weeks rather than immediately.
Keywords: `future roadmap`, `roadmap`, `fusion`, `react`, `slack group`, `barnes`, `group`, `alright`
[Read section 6 verbatim](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/sections/6-future-roadmap-whats-next-for-fusion.md)

### 7. Security Considerations: Keeping Fusion Safe (18:23–22:31 · 4.2 KB)
Fusion is secure by default because it uses standard Laravel model-to-array transformations and hidden/appended attributes; unlike Livewire, it treats data as request-response rather than frontend state, so no data is reinstantiated from the client.
Keywords: `keeping fusion`, `fusion`, `security considerations`, `fusion safe`, `security`, `safe`, `considerations`, `keeping`
[Read section 7 verbatim](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/sections/7-security-considerations-keeping-fusion-safe.md)

### 8. Component Actions: Enhancing Functionality in Fusion (22:33–24:19 · 1.9 KB)
Future roadmap includes per-component actions—API endpoints at the component level—so individual components can handle events and HTTP calls without bubbling to the page level, simplifying cross-component communication.
Keywords: `enhancing functionality`, `component`, `component actions`, `actions`, `enhancing`, `functionality`, `fusion`, `write php`
[Read section 8 verbatim](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/sections/8-component-actions-enhancing-functionality-in-fu.md)

### 9. Tooling Needs: Improving Developer Experience (24:22–27:19 · 3.1 KB)
PHPStorm requires language injection configuration and Laravel Idea plugin support to recognize PHP blocks in .vue files and provide proper autocompletion; VS Code users can use tagged template literals for PHP highlighting, and the Laravel Idea maintainer committed to Fusion support.
Keywords: `improving developer`, `jetbrains`, `tooling`, `versus code`, `tooling needs`, `developer experience`, `phpstorm`, `needs`
[Read section 9 verbatim](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/sections/9-tooling-needs-improving-developer-experience.md)

### 10. The Vision for Fusion: A New Era for Laravel (27:19–29:49 · 2.6 KB)
Fusion's core vision is to attract frontend developers into the Laravel ecosystem by proving that PHP/Laravel is a complete, powerful backend for full-stack SaaS applications, lowering the barrier to entry for intelligent, productive developers.
Keywords: `new era`, `fusion`, `laravel`, `vision`, `era`, `barnes`, `happy birthday`, `birthday`
[Read section 10 verbatim](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4/sections/10-the-vision-for-fusion-a-new-era-for-laravel.md)

---

## Related on aaronfrancis.com

- [Aaron Francis: Building and Teaching Cool Things](/podcast/aaron-francis-building-and-teaching-cool-things-39697cbb) *(Podcast · 2025-03-11 · shared: fusion, tryhard studios, inertia)*
- [Aaron Francis is putting PHP in Your JS Files](/podcast/aaron-francis-is-putting-php-in-your-js-files-6f3117a7) *(Podcast · 2025-03-05 · shared: laravel, inertia, vue)*
- [#33 - Aaron Francis on Fusion, TUIs and Content Creation](/podcast/33-aaron-francis-on-fusion-tuis-and-content-creation-087d6b18) *(Podcast · 2025-02-13 · shared: fusion, inertia, laravel)*
- [Laravel vs React](/videos/laravel-vs-react) *(Video · 2024-05-21 · shared: laravel, react, inertia)*
- [PHP is the future](/videos/php-is-the-future) *(Video · 2023-05-12 · shared: laravel, full stack framework, inertia)*

## Relevant Resources from Aaron Francis

- **[Solo](https://soloterm.com)** (overview on site: [/software](/software)): All-in-one agentic development platform and terminal workspace built by Aaron Francis for orchestrating processes and AI coding agents.
- **[Screencasting.com](https://screencasting.com)** (overview on site: [/courses](/courses)): Practical video course on recording high-quality technical screencasts, lighting, audio, studio setup, and publishing faster.

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `fusion` ([F-G](/llms/keywords/f-g.txt)), `laravel` ([K-L](/llms/keywords/k-l.txt)), `vue` ([T-Z](/llms/keywords/t-z.txt)), `react server components` ([Q-R](/llms/keywords/q-r.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
