PHPackages                             creativspeed/inertia-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. creativspeed/inertia-bundle

ActiveSymfony-bundle

creativspeed/inertia-bundle
===========================

Modern Inertia.js integration for Symfony 8 - Build single-page applications with Vue.js/React without the complexity of APIs

v1.1.0(2mo ago)09MITPHPPHP ^8.2|^8.3|^8.4

Since Jan 30Pushed 2mo agoCompare

[ Source](https://github.com/CreativSpeed/inertia-bundle)[ Packagist](https://packagist.org/packages/creativspeed/inertia-bundle)[ RSS](/packages/creativspeed-inertia-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (3)Used By (0)

Inertia Bundle for Symfony 8
============================

[](#inertia-bundle-for-symfony-8)

[![Latest Stable Version](https://camo.githubusercontent.com/fc14b466ba8f4e3f553f4b22984ce76d61562698e13047c018a8d71862f72c98/68747470733a2f2f706f7365722e707567782e6f72672f6372656174697673706565642f696e65727469612d62756e646c652f762f737461626c65)](https://packagist.org/packages/creativspeed/inertia-bundle)[![Total Downloads](https://camo.githubusercontent.com/8478df64cf17d3e3ad1f0d60b8ae884e45fca922769d2abba5a5a2c466fc7acf/68747470733a2f2f706f7365722e707567782e6f72672f6372656174697673706565642f696e65727469612d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/creativspeed/inertia-bundle)[![License](https://camo.githubusercontent.com/fa6809f35e43f63d3f23d472b4b1232602cf2efbf4df9a5f8e4192ebe12df4c1/68747470733a2f2f706f7365722e707567782e6f72672f6372656174697673706565642f696e65727469612d62756e646c652f6c6963656e7365)](https://packagist.org/packages/creativspeed/inertia-bundle)

Modern [Inertia.js](https://inertiajs.com/) integration for **Symfony 8** and **PHP 8.2+**. Build powerful single-page applications using Vue.js or React without the complexity of building an API.

Features
--------

[](#features)

- 🚀 **Symfony 8** &amp; **PHP 8.2+** Support
- ⚡ **Inertia.js v2 Protocol** (Deferred props, Lazy props, Merge props)
- 🖥️ **Server-Side Rendering (SSR)** support
- 📦 **Vite Integration** with automatic version detection
- 🛠️ **Twig Helpers** (`inertia()`, `inertiaHead()`)
- ✅ **Testing Helpers** (`assertInertia`)
- 🔄 **Automatic Flash Data &amp; Error Sharing**

📋 Requirements
--------------

[](#-requirements)

- PHP **8.2**, **8.3**, or **8.4**
- Symfony **8.0+** (also compatible with Symfony 7.0+)
- Composer 2.0+

📥 Installation
--------------

[](#-installation)

Install the bundle via Composer:

```
composer require creativspeed/inertia-bundle
```

If you're using Symfony Flex, the bundle will be automatically registered. Otherwise, add it manually to `config/bundles.php`:

```
