pocketarc/codeigniter
Composer 安装命令:
composer create-project pocketarc/codeigniter
包简介
Actively maintained CodeIgniter 3 fork with support for PHP 5.4 - PHP 8.5 (and beyond). Fully backward compatible.
README 文档
README
This is a fork of CodeIgniter 3, with the goal of keeping it up to date with modern PHP versions. There is no intention to add new features or change the way CI3 works. This is purely a maintenance fork.
PHP Compatibility:
- ✅ PHP 5.4 - 8.1 (as per original CI3 support)
- ✅ PHP 8.2
- ✅ PHP 8.3
- ✅ PHP 8.4
- ✅ PHP 8.5 (and beyond as they are released)
The original CodeIgniter 3.x branch is no longer maintained, and has not been updated to work with PHP 8.2, or any newer version. This fork is intended to fill that gap.
If the original CodeIgniter 3.x branch is updated to work with PHP 8.2+, and starts to be maintained again, this fork might be retired.
Maintenance Policy
This fork commits to:
- Maintaining compatibility with each new PHP version while still supporting PHP 5.4+
- Applying critical security fixes
- Keeping changes minimal to preserve CI3 behavior
- Reverting breaking changes in CodeIgniter 3.2.0-dev to maintain backward compatibility (e.g. restoring the Cart library, Email helper, and other deprecated-but-removed functionality)
- Running the full CI3 test suite on PHP 8.2+
If you find something that was removed in CI 3.2.0-dev and breaks backward compatibility for your application, please open an issue. We're happy to restore it.
This fork does NOT:
- Add new features
- Change existing CI3 behavior
- Provide commercial support
- Make migration to CI4 any harder (or easier)
Issues and Pulls
Issues and Pull Requests are welcome, but please note that this is a maintenance fork. New features will not be accepted. If you have a new feature you would like to see in CodeIgniter, please submit it to the original CodeIgniter 3.x branch.
Server Requirements
PHP version 5.4 or newer, same as the original CI3 requirements.
Installation
You can install this fork using Composer:
composer require pocketarc/codeigniter
After installation, you need to point CodeIgniter to the new system directory. In your index.php file, update the $system_path variable:
$system_path = 'vendor/pocketarc/codeigniter/system';
Alternative Installation (Manual)
If you prefer the traditional approach of replacing the system directory:
- Download this repository
- Replace your existing system/ directory with the one from this fork
- No changes to index.php are needed with this method
Note: The Composer method makes future updates easier with composer update, while the manual method requires downloading and replacing the system directory each time.
Upgrading from Original CI3
This fork is based on the unreleased CodeIgniter 3.2.0-dev. For most applications the upgrade is straightforward: install via Composer, update your $system_path, and review the upgrade guide.
The upgrade guide covers both 3.1.x and 3.2-dev users: upgrade_320.rst
pocketarc/codeigniter 适用场景与选型建议
pocketarc/codeigniter 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 46.42k 次下载、GitHub Stars 达 283, 最近一次更新时间为 2023 年 11 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 pocketarc/codeigniter 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pocketarc/codeigniter 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 46.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 284
- 点击次数: 11
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-06