nicojmb / ci4-starter-kit
CodeIgniter4 + Inertia.js + Vue.js + TailwindCSS starter project
Requires
- php: >=8.1
- codeigniter4/framework: ^4.0
- codeigniter4/translations: ^4
- nicojmb/ci4-inertia: dev-main
Requires (Dev)
- codeigniter/coding-standard: ^1.7
- fakerphp/faker: ^1.9
- mikey179/vfsstream: ^1.6
- nexusphp/cs-config: ^3.24
- phpunit/phpunit: ^10.5.16
This package is auto-updated.
Last update: 2025-05-12 12:20:42 UTC
README
Description
This is a starter kit for CodeIgniter 4 that includes InertiaJS, Vue3, Vite, and TailwindCSS. It is a great starting point for building modern web applications with CodeIgniter 4.
Features:
- Latest Codeigniter version 4.6.0
- Latest Vue 3 version with TypeScript.
- Latest InertiaJS version.
- Latest Vite version.
- Latest TailwindCSS version.
- Hot reloading for both PHP and Vue.
- Clean code...
Installation:
Make sure your server meets CI4 requirements.
run the following command to create a project:
composer create-project nicojmb/ci4-starter-kit:dev-main my-project
Setup
-
Run:
npm intall
to install node dependencies. -
Run:
npm run dev
to serve your assets. -
Run:
composer update
to update your PHP dependencies. -
Now start you CI server:
php spark serve
or access it through you virtual host.
IMPORTANT:
After the installation, there will be no bundled assets, so make sure to run
npm run dev
to serve them or just build them withnpm run build
command.
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
License
The MIT License (MIT). Please see License File for more information.