nicojmb/ci4-starter-kit

CodeIgniter4 + Inertia.js + Vue.js + TailwindCSS starter project

dev-main 2025-03-12 12:04 UTC

This package is auto-updated.

Last update: 2025-05-12 12:20:42 UTC


README

Latest Version on Packagist Tests Total Downloads

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 with npm 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.