Download the PHP package trianayulianto/inertia-codeigniter-4 without Composer
On this page you can find all versions of the php package trianayulianto/inertia-codeigniter-4. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download trianayulianto/inertia-codeigniter-4
More information about trianayulianto/inertia-codeigniter-4
Files in trianayulianto/inertia-codeigniter-4
Package inertia-codeigniter-4
Short Description Inertia server-side adapter for CodeIgniter 4
License MIT
Homepage https://github.com/trianayulianto/inertia-codeigniter-4
Informations about the package inertia-codeigniter-4
Inertia server-side adapter for CodeIgniter 4
Installation
You can install the package via composer:
Usage
Server-Side Setup
Root template
- Make root view named
app.php
Filter
-
Make new filter
- Add code same as below
Creating responses
That's it, you're all ready to go server-side! From here you can start creating Inertia responses.
Client-Side Setup
Install dependencies
Initialize the Inertia app
In your app.js file, import the adapter and add it to the list of adapters:
More
Visit inertiajs.com to learn more.
Testing
Roadmap
Tests
- 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.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Amir Rami - Original author
- Triana Yulianto - Current maintainer
- All Contributors
License
The MIT License (MIT). Please see License File for more information.