mirror of
http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore.git
synced 2026-01-15 05:55:12 +08:00
2dace65933d7361c1124f8c5c125a507894584fb
- 在 CommonHandler 中添加了对 GuzzleHttp 客户端和服务器异常的处理 - 解析异常响应内容,提取错误代码和消息 - 根据异常类型设置相应的状态码 Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
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
V1.0.1 正式版本
Latest
Languages
PHP
99.2%
Shell
0.8%