jengo / react-starter-kit
CodeIgniter4 React starter kit
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.1
- codeigniter4/framework: ^4.0
- jengo/core: ^1.0
- jengo/inertia-ci4: ^0.0.6
Requires (Dev)
- fakerphp/faker: ^1.9
- mikey179/vfsstream: ^1.6
- pestphp/pest: ^3.8
This package is not auto-updated.
Last update: 2025-07-28 02:50:08 UTC
README
A modern CodeIgniter 4 + React starter template powered by Inertia.js, built to kickstart your next full-stack project with zero boilerplate hassle.
This starter kit uses React with Webpack and Tailwind CSS pre-configured. Backend powered by CodeIgniter 4, bridged by Inertia.js.
๐ Getting Started
1. Create a New Project
composer create-project jengo/react-start-kit my-app
2. Install Dependencies
cd my-app # Install JS dependencies npm install
3. Run Dev Server
npm run dev
By default, the development server runs at http://localhost:8080.
Internally this runs
php spark serve
.
๐งฉ Included Features
- โ React 19
- โ Webpack for fast builds
- โ Tailwind CSS
- โ Inertia.js (React adapter)
- โ Clean project structure
- โ TypeScript-ready (opt-in)
- โ Example routing + layout system
๐ Project Structure
โโโ app/ # CI4 controllers & config
โโโ public/
โ โโโ index.php
โโโ resources/
โ โโโ js/
โ โโโ App.jsx # React app entry point
โ โโโ Pages/ # Inertia pages
โ โโโ Shared/ # Shared layouts/components
โโโ webpack.config.js
โโโ composer.json
โโโ package.json
๐งฑ Based On
This starter is powered by:
๐ Contributing
Feel free to fork and improve. PRs welcome โ especially for auth scaffolding, presets, or useful utilities.
๐งช License
This project is under a MIT License