Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Inertia Laravel Laravel Package

inertiajs/inertia-laravel

Laravel adapter for Inertia.js: build single-page apps using classic server-side routing and controllers. Provides middleware, helpers, and response macros to render Inertia pages, share props, handle versioning, and integrate seamlessly with Laravel.

View on GitHub
Deep Wiki
Context7
v3.0.5
v2.0.20

What's Changed

New Contributors

Full Changelog: https://github.com/inertiajs/inertia-laravel/compare/v2.0.19...v2.0.20

v2.0.10
v2.0.8

What's Changed

Full Changelog: https://github.com/inertiajs/inertia-laravel/compare/v2.0.7...v2.0.8

v2.0.7
v2.0.6
v2.0.4

What's Changed

New Contributors

Full Changelog: https://github.com/inertiajs/inertia-laravel/compare/v2.0.3...v2.0.4

v2.0.3

What's Changed

New Contributors

Full Changelog: https://github.com/inertiajs/inertia-laravel/compare/v2.0.2...v2.0.3

v2.0.2

What's Changed

New Contributors

Full Changelog: https://github.com/inertiajs/inertia-laravel/compare/v2.0.1...v2.0.2

v2.0.0
  • Add support for Inertia.js v2.0.0
  • Add Inertia::defer() to support deferred props
  • Add Inertia::merge() to support merging props on client
  • Add Inertia::always() for props that should always be included (#627)
  • Add Inertia::clearHistory() and Inertia::encryptHistory() methods, encryption config, and encryption middleware
  • Deprecated Inertia::lazy() in favor of Inertia::optional()
  • Drop support for Laravel 8 and 9 (#629)
v1.2.0
  • Make commands lazy (#601)
  • Add persistent properties (#621)
  • Exclude except props from partial reloads (#622)
v1.1.0
  • Support dot notation in partial requests (#620)
  • Add $request->inertia() IDE helper (#625)
v1.0.0
  • Add Laravel 11 support (#560, #564)
  • Fix URL generation (#592)
  • Remove deprecated Assert class and Laravel 6 & 7 support. (#594)
v0.6.11
  • Add option for using the bun runtime in SSR (#552)
v0.6.9
  • Conditionally use pcntl extension in inertia:start-ssr command (#492)
v0.6.8
  • Reintroduce inertia.ssr.enabled config option (#488)
  • Fix bug where SSR is dispatched twice when errors exist (#489)
v0.6.7
  • Report SSR errors (#486)
  • Auto enable SSR based on existence of SSR bundle (#487)
v0.6.6
  • Add inertia:start-ssr and inertia:stop-ssr artisan commands (#483)
v0.6.5
  • Add Laravel v10 support (#480)
v0.6.4
  • Add PHP 8.2 support (#463)
v0.6.3
  • Check Vite manifest path (build/manifest.json) when determining the current asset version (#399)
v0.6.2
  • Switch to using the Vary: X-Inertia header (#404)
  • Fix bug with incompatible $request->header() method (#404)
v0.6.10
  • Add inertia_location helper function (#491)
  • Add Route::inertia() IDE helper (#413)
  • Automatically update Facade docblocks (#538)
  • Restore request and session on redirects (#539)
  • Add PHP 8.3 support (#540)
v0.6.1
  • Set Vary: Accept header for all responses (#398)
  • Only register Blade directives when actually needed (#395)
v0.6.0

Added

  • Inertia now redirects back by default when no response is returned from a controller (#350)
  • The Middleware has an overridable onEmptyResponse hook to customize the default 'redirect back' behavior (#350)

Changed

  • Internal: Replaced the Middleware's checkVersion method with an onVersionChange hook (#350)

Fixed

  • Fixed namespace issue with Route::inertia() method (#368)
  • Added session check when sharing validation errors (#380)
  • Fixed docblock on facade render method (#387)
v0.5.4

Added

  • .tsx extension is now included to the testing paths by default (#354)

Fixed

  • Dot-notated props weren't being removed after unpacking (507b0a)
v0.5.3

Fixed

  • Incorrect Arrayable type-hint (#353)
  • Pagination with API Resources and other nested props weren't resolving properly (#342, #298)
v0.5.2

Added

  • Laravel 9 Support (#347)

Fixed

  • Respect X-Forwarded-For header (#333)
v0.5.1

Fixed

  • When the SSR Server crashes, a null response will be returned, which wasn't being handled properly (7d7d89)
v0.5.0

Added

  • PHP 8.1 Support (#327)
  • Allow Inertia::location to be called with a RedirectResponse (#302)
  • Support Guzzle Promises (#316)
  • Server-side rendering support ([@inertiaHead](https://github.com/inertiaHead) directive) (#339)
  • Allow custom [@inertia](https://github.com/inertia) root element ID (e.g. [@inertia](https://github.com/inertia)('foo') -> <div id="foo" data-page="...) (#339)

Changed

Deprecated

  • Deprecate Assert library in favor of Laravel's AssertableJson (#338)

Removed

  • Laravel 5.4 Support (#327)

Fixed

  • Transform Responsable props to arrays instead of objects (#265)
  • Inertia::location(): Fall back to regular redirects when a direct (non-Inertia) visit was made (#312)
  • Use correct types for Resources (#214)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai