李东云 c8b454540d build(deps): 更新依赖并添加 PHPSpec 支持
- 添加 Symfony polyfill-php84依赖
- 更新 rector/rector 至最新版本
- 添加 PHPSpec 相关配置和依赖
- 更新 composer.json 配置
- 调整项目结构,添加 spec 目录作为测试源

Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
2025-07-07 13:27:25 +08:00
2025-03-04 02:33:24 +00:00
2025-03-04 02:34:32 +00: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%