李东云 3a1f912520 refactor(exception): 重构异常处理逻辑
- 移除 CommonHandler 中的 $request 属性
- 使用 make 函数创建 RequestInterface 实例
- 优化异常日志输出格式
- 调整请求数据和查询字符串的获取方式

Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
2025-08-12 09:54:05 +08:00
2025-08-08 17:02:45 +08:00
2025-08-08 17:02:45 +08:00
2022-12-19 17:20:04 +08:00
2022-12-19 17:20:04 +08:00
2022-12-19 17:20:04 +08:00

Hyperf Development Kit Core

The Common HDK for Any project by Hyperf.

PHP Versions

This version will work on Hyperf version 2.2 and above.

Getting Started

PHP 8.0 or above and Composer is expected to be installed on our system.

Installing Composer

For instructions on how to install Composer visit getcomposer.org.

Installing

After cloning this repository, change into the newly created directory and run

composer config secure-http false \
&& composer config repo.lux-map composer https://satis.luxcreo.cn/ \
&& composer require singularity/hdk-core \
&& php bin/hyperf.php vendor:publish singularity/hdk-core

This will install all dependencies needed for the project.

Running the Tests

All tests can be run by executing

composer test

Pest will automatically find all tests inside the tests directory and run them based on the configuration in the phpunit.xml file.

Built With

License

This project is licensed under the MIT License - see the LICENCE.md file for details.

Description
HDK核心组件
Readme 719 KiB
2025-08-19 09:49:06 +08:00
Languages
PHP 99.2%
Shell 0.8%