codefyphp/codefy 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

codefyphp/codefy

Composer 安装命令:

composer require codefyphp/codefy

包简介

PHP framework for Domain Driven Development, CQRS, and Event Sourcing.

README 文档

README

CodefyPHP Logo

Latest Stable Version PHP 8.4 License Total Downloads CodefyPHP Support Forum

This repository contains the CodefyPHP Framework. If you are looking for an easier way to get started quickly, you can check out the starter app: CodefyPHP Skeleton.

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.

TDD With DomainEvents in CodefyPHP - ASMR With Mechanical Keyboard

📍 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

You can use the composer command below to install the library, or by creating a new Codefy project using the skeleton package.

composer require codefyphp/codefy

🕑 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/codefy 适用场景与选型建议

codefyphp/codefy 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 285 次下载、GitHub Stars 达 25, 最近一次更新时间为 2023 年 09 月 09 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「container」 「framework」 「routing」 「application」 「php-framework」 「codefy」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 codefyphp/codefy 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 codefyphp/codefy 我们能提供哪些服务?
定制开发 / 二次开发

基于 codefyphp/codefy 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 285
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 25
  • 点击次数: 18
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 25
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-09