This code is updated with latest InertiaJS and PHP 8.+ Support. T
You can install the package via composer:
composer require nicojmb/ci4-inertiaYou can see it working in the Starter Kit project:
https://github.com/nicojmb/ci4-starter-kit
composer test- Controller test
- Helper test.
inertia()helper. - Inertia headers test. An Inertia request should return an Inertia response (JSON response).
- Shared data test. It should be accesses in any response.
- Lazy props test.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.