jengo / inertia
The Codeigniter 4 adapter for inertia.js forked from fabithub/inertia-ci4
Installs: 3
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/jengo/inertia
Requires
- php: ^8.5
- codeigniter4/framework: ^4.7
- jengo/base: ^1.0
Requires (Dev)
- codeigniter/coding-standard: ^1.7
- deptrac/deptrac: ^3.0
- ergebnis/composer-normalize: ^2.41
- icanhazstring/composer-unused: ^0.9.1
- infection/infection: ^0.32.4
- pestphp/pest: ^4.3
- pestphp/pest-plugin-faker: ^4.0
- pestphp/pest-plugin-type-coverage: ^4.0
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^12.5
- rector/rector: ^1.0
- vimeo/psalm: ^6.15
README
Jengo Inertia seamlessly integrates Inertia.js with CodeIgniter 4, allowing you to build modern single-page apps using classic server-side routing and controllers.
🚀 Features
- Automatic Setup: Comes with a dedicated installer to set up Vue, React, or Svelte.
- Vite Integration: Powered by
jengo/baseand@jengo/vitefor a modern build experience. - Server-Side Routing: Use standard CI4 routing and controllers.
📦 Installation
-
Require the packages:
composer require jengo/base jengo/inertia -
Run the Vite installer (Required first):
php spark jengo:install viteThis sets up the necessary
package.jsonand Vite configuration foundation. -
Run the Inertia installer:
php spark jengo:install inertiaThe installer will guide you through:
- Selecting your framework (Vue, React, Svelte).
- Installing necessary NPM dependencies.
- Scaffolding your entry points and views.
📚 Documentation
For more information on the Jengo installer system and base configurations, please visit the jengo/base repository.
🧑💻 Credits
This package is a fork of fabithub/inertia-ci4.
Original Authors:
- Fab IT Hub
- Krishna Gujjjar
Fork Maintainer:
- JengoPHP
- Ian Ochieng
📄 License
This project is open-sourced under the MIT license.