PHP code example of suframe / sunny
1. Go to this page and download the library: Download suframe/sunny library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
suframe / sunny example snippets
php think sunny
# 或者运行原始脚本
php vendor/suframe/sunny/src/sunny.php
#后台运行
setsid php think sunny &
# 关闭后台进程
ps -ef | grep 'php think sunny' | grep -v grep | cut -c 9-15 | xargs kill -9