iescarro/codeigniter3

Skeleton app of the CodeIgniter3 framework

v0.0.19 2025-04-24 07:42 UTC

This package is auto-updated.

Last update: 2025-06-23 03:31:48 UTC


README

Logo CodeIgniter3

Total Downloads Latest Stable Version License

CodeIgniter 3

This is a modernized structure for CodeIgniter 3, where the framework is installed as a Composer package, keeping your application code separate from the core framework files. This makes it easier to manage, maintain, and upgrade CodeIgniter without affecting your app.

πŸš€ Quick Start

composer create-project iescarro/codeigniter3 blog
cd blog
chmod -R 775 application/storage/database
chown -R www-data:www-data application/storage/database  # adjust user if needed
php ignite generate:scaffold Post title:varchar content:text
cp .env.example .env
cp public/.htaccess.example public/.htaccess
php public/index.php migrate
php ignite serve
  • ✨ ignite generate:scaffold – Generate a model, controller, view, and migration
  • πŸ—ƒ .env – Customize your environment variables
  • 🌐 php ignite serve – Launch the local development server

πŸ“ Directory Structure

blog/
β”œβ”€β”€ application/    # Your application code
β”œβ”€β”€ public/         # Web root
β”œβ”€β”€ vendor/         # Composer-managed packages (includes CodeIgniter core)
β”œβ”€β”€ .env            # Environment configuration
└── ...

Your app is fully decoupled from the framework core, which is installed via Composer. You can safely update CodeIgniter without overwriting your custom app logic.

πŸ–ΌοΈ Frontend with Vue.js (optional)

If you’re integrating Vue.js:

npm install
npm run serve
  • Vue project should be inside /resources/js or similar (customize as needed).
  • You can build the frontend assets and serve them from the public folder.

🧰 Tools & Features

  • βœ… CLI with ignite for scaffolding and utilities
  • βœ… Environment-based config via .env
  • βœ… Frontend-ready with Vue.js support
  • βœ… Composer-managed dependencies

πŸ“„ License

MIT Β© CodeIgniter3 Team

Originally based on CodeIgniter 3