codefyphp/skeleton
Composer 安装命令:
composer create-project codefyphp/skeleton
包简介
Skeleton package for creating a new CodefyPHP Framework project.
README 文档
README
This repository contains the skeleton package for creating a new CodefyPHP project. If you are only interested in the core framework, visit the main CodefyPHP Framework repository.
CodefyPHP is not a framework such as the likes of Symfony, Laravel, Codeigniter or CakePHP. Codefy is a simple, light framework providing interfaces and implementations for architecting a Domain Driven project with CQRS, Event Sourcing and implementations of PSR-3, PSR-6, PSR-7, PSR-11, PSR-12, PSR-14, PSR-15, PSR-16 and PSR-17.
The philosophy of Codefy is that code should be systematized, maintainable, and follow OOP (Object-Oriented Programming). CodefyPHP tries not to be too opinionated, yet encourages best practices and coding standards by following Qubus Coding Standards. Use Codefy as you see fit. You can tap into all, some or none of the features and instead use the interfaces to build your own implementations for a domain driven project.
📍 Requirement
- PHP 8.4+
- Additional constraints based on which components are used.
🏆 Highlighted Features
- A powerful routing engine
- Robust dependency injector for bootstrapping
- Adapters for cookies, sessions and cache storage
- Provides a simple hook and event system without affecting core code
- Encourages object-oriented programming
- Multiple PSR implementations
- Dual query builders with migrations
- Scheduler for scheduling tasks/jobs
- Security and sanitizing helpers
- Dual templating engines
- NIST Level 2 Standard Role-Based Access Control
📦 Installation
To create a new project, run the following command:
composer create-project codefyphp/skeleton my-app-name
Replace my-app-name with the directory name to which you are starting your new project. Once installed, cd into
the root directory of your app and start the development server by running the following terminal command:
php codex serve
Once the server starts, visit the new install at http://localhost:8080.
🕑 Releases
| Version | Minimum PHP Version | Release Date | Bug Fixes Until | Security Fixes Until |
|---|---|---|---|---|
| 1 | 8.2 | September 2023 | July 2024 | EOL |
| 2 - LTS | 8.2 | September 2024 | September 2027 | January 2028 |
| 3.0 | 8.4 | October 2025 | August 2026 | December 2027 |
| 3.1 | 8.4 | February 2026 | February 2027 | June 2028 |
| 3.2 | 8.4 | May 2026 | March 2027 | July 2028 |
| 3.3 | 8.4 | July 2026 | April 2027 | August 2028 |
| 3.4 - LTS | 8.4 | August 2026 | March 2027 | July 2028 |
| 4.0 | 8.5 | October 2026 | June 2027 | October 2028 |
📘 Documentation
Documentation is still a work in progress. Between the Qubus Components documentation and CodefyPHP's documentation, that should help you get started. If you have questions or need help, feel free to ask for help in the forums.
🙌 Sponsors
If you use CodefyPHP or you are interested in supporting the continued development of my opensource projects, please consider sponsoring me via Github.
🖋 Contributing
CodefyPHP could always be better! If you are interested in contributing enhancements or bug fixes, here are a few rules to follow in order to ease code reviews, and discussions before I accept and merge your work.
- You MUST follow the QubusPHP Coding Standards.
- You MUST write (or update) unit tests.
- You SHOULD write documentation.
- Please, write commit messages that make sense, and rebase your branch before submitting your Pull Request.
- Please squash your commits too.
This is used to "clean" your Pull Request before merging it (I don't want commits such as
fix tests,fix 2,fix 3, etc.).
🔐 Security Vulnerabilities
If you discover a vulnerability in the code, please email joshua@joshuaparker.dev.
📄 License
CodefyPHP is opensource software licensed under the MIT License.
codefyphp/skeleton 适用场景与选型建议
codefyphp/skeleton 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 21 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 09 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「routing」 「Skeleton」 「codefy」 「codefyphp」 「codefy-php」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 codefyphp/skeleton 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 codefyphp/skeleton 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 codefyphp/skeleton 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Write down your routing mapping at one place
Flight routing is a simple, fast PHP router that is easy to get integrated with other routers.
Slim starter / Slim skeleton package to boost your development with Slim framework
PHP framework for Domain Driven Development, CQRS, and Event Sourcing.
Client for Google Directions API to add interpolated points to a route consisting of given coordinates.
Base Skeleton for Laravel Application
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-11