Skip to content

webwingscz/inertia-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server-side adapter for Symfony 7 and Inertia.js v2

Heavily inspired by the Laravel adapter and official Symfony bundle.

Installation

  1. Add the required repository configuration to composer.json
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/webwingscz/inertia-bundle.git"
    }
  ]
}
  1. Install the composer package
composer require webwingscz/inertia-bundle

Features

State of features that require backend support.

Supported

The basics

  • Pages
    • Customizable page component name resolution
    • Customizable page component existence validation
  • Responses
    • ProvidesInertiaProperties interface
      • Only on global level using InertiaPropProviderInterface
    • Root template data
  • Redirects
    • 303 response code
    • External redirects
  • Routing
    • Customizing the Page URL
  • Validation
    • Sharing errors
    • Error bags

Data & props

Security

Advanced

Planned

Currently none.

Unplanned

Advanced

About

Server-side adapter for Symfony 7 and Inertia.js v2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages