iescarro / codeigniter3
Skeleton app of the CodeIgniter3 framework
Installs: 44
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- iescarro/codeigniter3-framework: ^0.0.29
- symfony/console: ^7.1
README
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