iescarro/codeigniter3
最新稳定版本:v0.1.0
Composer 安装命令:
composer create-project iescarro/codeigniter3
包简介
Skeleton app of the CodeIgniter3 framework
README 文档
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
统计信息
- 总下载量: 69
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-17
