# hyperf-daemon **Repository Path**: php-lib/hyperf-daemon ## Basic Information - **Project Name**: hyperf-daemon - **Description**: hyperf-daemon - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-05 - **Last Updated**: 2023-12-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # hyperf/daemon ### 安装 配置composer.json ``` "repositories":[ ... { "type": "git", "url": "https://gitee.com/php-lib/hyperf-daemon.git" } ... ] ``` ``` require 增加 "hyperf/daemon": "dev-master", ``` ``` composer update 更新 ``` ### 发布配置 ``` swoole-cli bin/hyperf.php vendor:publish hyperf/daemon ``` ### 使用 ``` swoole-cli bin/hyperf.php start 后台运行 swoole-cli bin/hyperf.php stop 停止运行 ``` ``` DAEMONIZE=0 swoole-cli bin/hyperf.php start 前台运行 ```