nakzee/ci4-vite

CodeIgniter 4 with Vite, ready for modern frontend tooling.

dev-main 2025-04-25 03:30 UTC

This package is auto-updated.

Last update: 2025-04-25 03:30:55 UTC


README

What is CI4 Vite?

CI4 Vite starter is a simple project template for building modern web applications using CodeIgniter 4 and Vite.js. It provides an easy way to get started with both frameworks together, allowing developers to take advantage of the best features from each tool.

It allows you to build dynamic websites and web applications quickly and easily while taking advantage of the latest technologies available in JavaScript development and lightweight PHP framework.

Refer CodeIgniter for more info

CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure. More information can be found at the official site.

You can read the user guide

Installation & updates

composer create-project nakzee/ci4-vite then composer update whenever there is a new release of the framework.

For vite setup run command: npm install && npm run dev

Setup

Copy env to .env and tailor for your app, specifically the baseURL and any database settings.

Server Requirements

PHP version 8.1 or higher is required, with the following extensions installed:

  • intl
  • mbstring
  • json (enabled by default - don't turn it off)
  • mysqlnd if you plan to use MySQL
  • libcurl if you plan to use the HTTP\CURLRequest library