2017 © Pedro Peláez
 

project workerman-yii2

use some yii2 functions in workerman! example activerecord!

image

ruanjiajia/workerman-yii2

use some yii2 functions in workerman! example activerecord!

  • Friday, April 28, 2017
  • by victorruan
  • Repository
  • 1 Watchers
  • 8 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

WorkermanYii2

Yii2, (*1)

对于熟悉使用workerman和yii2 ActiveRecod的人来说,在workerman中使用ActiveRecord是一个问题 这个项目主要解决了在workerman中使用yii2中的ActiveRecord的问题, (*2)

同时,解决了在命令行下常驻进程mysql gone away的问题, (*3)

config文件中包含了表结构代码, (*4)

composer install;
php start.php start;


Workerman[start.php] start in DEBUG mode ----------------------- WORKERMAN ----------------------------- Workerman version:3.4.1 PHP version:7.0.15 ------------------------ WORKERS ------------------------------- user worker listen processes status ruanjiajia demo_worker none 1 [OK] ---------------------------------------------------------------- Press Ctrl-C to quit. Start success. name is test and age is 5

workerman 主页 http://www.workerman.net/
yii2 主页 http://www.yiiframework.com/
yii2 ActiveRecord http://www.yiichina.com/doc/guide/2.0/db-active-record, (*5)

The Versions

28/04 2017

dev-master

9999999-dev

use some yii2 functions in workerman! example activerecord!

  Sources   Download

MIT

The Requires

 

by Avatar victorruan

yii2 mysql activerecord workerman