Download the PHP package creativspeed/inertia-bundle without Composer
On this page you can find all versions of the php package creativspeed/inertia-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package inertia-bundle
Inertia Bundle for Symfony
Inertia.js for Symfony — build a Vue or React single-page app against your existing Symfony controllers, without hand-rolling a JSON API.
Features
- Full Inertia.js v3 protocol — lazy, always, deferred (with groups), and merge/deep-merge props
- Automatic 302→303 redirect conversion and asset-version conflict handling (the two things every from-scratch integration forgets)
- Server-side rendering with a real body+head hand-off to your Twig shell
- Vite integration with automatic asset-version detection from the manifest
- Automatic auth data and flash message sharing on every response
back()/redirect()/location()/redirectWithErrors()helpers- History encryption (
encryptHistory()/clearHistory()) - A testing trait (
InertiaAssertionsTrait) for asserting on Inertia responses in PHPUnit
Requirements
- PHP 8.2+
- Symfony 7.0+ (including Symfony 8)
symfony/security-bundle(used for automatic auth-data sharing)
Install
Not using Symfony Flex? Register it manually:
Then read docs/installation.md for the root template, config, and frontend setup — there's a couple of details there (specifically around the protocol_version setting) worth getting right the first time.
Documentation
| Installation | Root template, frontend setup, verifying it works |
| Configuration | Every inertia.yaml option, explained |
| Props | lazy(), always(), defer(), merge(), deepMerge() |
| Shared data | share(), automatic auth data, flash messages |
| Redirects | back(), redirect(), location(), form validation errors |
| Server-side rendering | Enabling SSR and what your SSR server needs to return |
| Testing | InertiaAssertionsTrait for PHPUnit |
| Upgrading from 1.x | The breaking changes in 2.0, and why |
Contributing
Issues and PRs welcome at github.com/CreativSpeed/inertia-bundle.
License
MIT.
Made by CreativSpeed · [email protected]
All versions of inertia-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2|^8.3|^8.4
symfony/framework-bundle Version ^7.0|^8.0
symfony/http-kernel Version ^7.0|^8.0
symfony/dependency-injection Version ^7.0|^8.0
symfony/config Version ^7.0|^8.0
symfony/security-bundle Version ^7.0|^8.0
symfony/filesystem Version ^7.0|^8.0
symfony/framework-bundle Version ^7.0|^8.0
symfony/http-kernel Version ^7.0|^8.0
symfony/dependency-injection Version ^7.0|^8.0
symfony/config Version ^7.0|^8.0
symfony/security-bundle Version ^7.0|^8.0
symfony/filesystem Version ^7.0|^8.0
The package creativspeed/inertia-bundle contains the following files
Loading the files please wait ...