jaysparmar/codeigniter3
最新稳定版本:1.0.9
Composer 安装命令:
composer require jaysparmar/codeigniter3
包简介
A package to work with CodeIgniter 3 framework
README 文档
README
A package to work with CodeIgniter 3 framework.
Installation
You can install the package via composer:
composer require jaysparmar/codeigniter3
Usage
This package provides a modern way to bootstrap and work with CodeIgniter 3 framework. It includes environment management, path configuration, and CLI support.
Basic Usage
<?php require_once 'vendor/autoload.php'; use CodeIgniter3\Bootstrap; // Initialize CodeIgniter 3 environment Bootstrap::init(); // Your CodeIgniter 3 application code here // The framework is now properly initialized with: // - Environment variables loaded from .env file // - Error reporting configured based on environment // - System paths properly set up // - Constants defined
CLI Usage
For command-line applications:
<?php require_once 'vendor/autoload.php'; use CodeIgniter3\Bootstrap; // Initialize CodeIgniter 3 for CLI Bootstrap::initCLI(); // Your CLI application code here
Environment Configuration
Create a .env file in your project root:
ENVIRONMENT=development # or ENVIRONMENT=production # or ENVIRONMENT=testing
The package will automatically load environment variables and configure error reporting accordingly.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 113
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-25