Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Inertia.js
  3. Symfony

Symfony

MITPHPv2.4.3

A server-side adapter for using Inertia.js with Symfony 5 and 6, enabling single-page app experiences.

GitHubGitHub
151 stars43 forks0 contributors

What is Symfony?

Inertia.js Symfony Adapter is a server-side package that integrates Inertia.js with Symfony 5 and 6, enabling developers to build single-page applications using modern frontend frameworks like Vue, React, or Svelte. It allows Symfony controllers to render Inertia responses directly, eliminating the need for a separate API layer and simplifying full-stack development. The adapter provides features like data sharing, lazy props, and server-side rendering support.

Target Audience

Symfony developers who want to build modern, reactive single-page applications without managing a separate API or dealing with complex frontend routing. It's ideal for teams already using Symfony and looking to adopt Inertia.js for a smoother full-stack workflow.

Value Proposition

Developers choose this adapter because it brings the Inertia.js experience to Symfony, reducing development overhead by integrating backend and frontend seamlessly. It offers a familiar Symfony service pattern, supports multiple frontend frameworks, and includes advanced features like SSR and lazy data loading, making it a robust alternative to building custom API-driven SPAs.

Overview

Inertia.js server-side adapter for Symfony

Use Cases

Best For

  • Building single-page applications with Symfony as the backend
  • Integrating Vue, React, or Svelte frontends into Symfony projects
  • Simplifying full-stack development without creating separate REST APIs
  • Adding server-side rendering to Symfony-based Inertia.js apps
  • Migrating Laravel Inertia projects to Symfony
  • Managing shared data and lazy-loaded props across components in Symfony

Not Ideal For

  • Projects requiring guaranteed long-term maintenance and official support from active maintainers
  • Teams using Symfony versions outside 5-6 or preferring to build fully decoupled REST APIs
  • Developers who want to avoid the complexity of Webpack Encore and Node.js for server-side rendering
  • Organizations with strict requirements for up-to-date documentation and community plugins

Pros & Cons

Pros

Seamless Symfony Integration

Provides an InertiaInterface service for controllers to render responses directly, making backend integration straightforward as shown in the controller examples using dependency injection.

Flexible Frontend Options

Supports Vue, React, and Svelte via Inertia.js adapters, with detailed Webpack Encore configuration examples in the README for each framework.

Advanced Data Management

Includes share method for global data and lazy props for efficient loading, demonstrated in the event subscriber and controller examples with callable support.

SSR Support

Offers configuration guides for server-side rendering with a separate Node.js build, enhancing app performance and SEO, as outlined in the SSR setup section.

Cons

Unmaintained Project

The README explicitly warns that the project is looking for a new owner and is unmaintained, posing risks for bug fixes, security updates, and compatibility with future Symfony or Inertia.js versions.

Complex SSR Configuration

Enabling server-side rendering requires creating a separate Webpack config and running a Node.js service, adding operational overhead and complexity compared to simpler setups.

Limited Build Tool Flexibility

Primary configuration examples are for Webpack Encore; while a Vite template exists, it's community-driven and not officially documented in the core README, limiting alternatives.

Frequently Asked Questions

Quick Stats

Stars151
Forks43
Contributors0
Open Issues3
Last commit2 years ago
CreatedSince 2019

Tags

#single-page-application#webpack-encore#full-stack#server-side-adapter#symfony-bundle#inertia#php#react#vue#svelte#inertiajs#symfony

Built With

W
Webpack-Encore
P
PHP
N
Node.js
T
Twig
S
Symfony

Included in

Inertia.js253
Auto-fetched 19 hours ago

Related Projects

LaravelLaravel

The Laravel adapter for Inertia.js.

Stars2,464
Forks288
Last commit2 days ago
RailsRails

The Rails adapter for Inertia.js.

Stars1,211
Forks103
Last commit2 days ago
DjangoDjango

The Django adapter for Inertia.js

Stars590
Forks57
Last commit7 months ago
PhoenixPhoenix

The Phoenix adapter for Inertia.js.

Stars500
Forks23
Last commit9 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub