inertia-laravel icon indicating copy to clipboard operation
inertia-laravel copied to clipboard

The Laravel adapter for Inertia.js.

Results 144 inertia-laravel issues
Sort by recently updated
recently updated
newest added

In some cases the parameters are too many in the only option So I added an option except I also added it in https://github.com/inertiajs/inertia/pull/1477

Added the `$request->inertia()` IDE helper

The PR introduces an ability to exclude properties from partial responses. The `except` option can be used together with `only` to refine nested props. The corresponding client-side PR: https://github.com/inertiajs/inertia/pull/1876 ```js...

The PR introduces an ability to persist properties on partial requests. When making a partial reload, Inertia will only evaluate and include on the response properties, specified in the `only`...

Continuation of #432 as it remains a problem in the latest version of Inertia. I was in the process of porting the project to Inertia and I encountered a very...

This PR simply aims to make `Inertia\Response` more friendly to extension/customization by: - [Further breaking down the `toResponse` method](https://github.com/inertiajs/inertia-laravel/commit/d59836539c77f1c04fd516389d8100c71893c6e4) - [Allowing the class to be resolved from the container](https://github.com/inertiajs/inertia-laravel/commit/a276319393a1a1f3029bac853a8f52bb3d14a82b) This...

Prior to https://github.com/inertiajs/inertia-laravel/pull/620, property instances were resolved [before](https://github.com/inertiajs/inertia-laravel/pull/620/files?diff=split&w=0#diff-e1ee2fcc629f38d16eaba23b95a87eb8e7466fae0954483c4b8ca8ad78242e0aL136) handling arrayable/array values when sending a response. Consider the following Inertia response dump: AsArrayable ```php use Illuminate\Contracts\Support\Arrayable; class AsArrayable implements Arrayable {...

With Inertia it's rather common to make a response like the following: ```php Inertia::render('Users/Edit', [ 'user' => $request->user(), ]); ``` However, without proper serialization guards this can be quite dangerous,...

### Summary - Wrap the config values for `inertia.ssr.enabled` and `inertia.ssr.url` with environment variables: - `INERTIA_SSR_ENABLED`, with default value of `true` - `INERTIA_SSR_URL`, with default value of `http://127.0.0.1:13714` ### Why?...