# YOLO微服务框架 **Repository Path**: lushaoming/yolo-framework ## Basic Information - **Project Name**: YOLO微服务框架 - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-10 - **Last Updated**: 2024-05-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 基于Hyperf的微服务框架 ## 说明 ## 安装 1、克隆项目 ```shell git clone git@gitee.com:lushaoming/yolo-framework.git ``` 2、初始化项目 ```shell cp .env.example .env composer update ``` 3、启动项目 ```shell php bin/hyperf.php start ``` ## 注意事项 - 尽量不要使用单例 > 如果服务的worker数量大于1,则常规的单例模式无效,因为每个worker的内存空间都是独立的,worker之间无法直接读取数据。如果确实需要使用单例,则可以考虑共享内存,如yac扩展。