Git Product home page Git Product logo

framework's Introduction

framework

PHP Coroutine Framework

demo & docs

  • examples/api 完整的framework使用示例 -- sdf
  • @im-cloud 基于当前框架设计的一个im分布式中间件
    • appm 多进程模式
    • apps 单进程全协程化模式

component

@core 核心架构

@grpc grpc包依赖 grpc-client连接池

@discovery 服务发现注册

@process 自定义进程管理器

@redis redis连接池

@queue 消息队列连接池

@database db连接池

@memoryswoole 相关内存操作封装

@task 异步任务投递组件

console

  • start php bin/app --start
  • restart php bin/app --restart
  • stop php bin/app --stop
  • daemon php bin/app --start --d
  • debug php bin/app --start --debug --log=true
 _                  _                 _                           _      
(_)_ __ ___     ___| | ___  _   _  __| |  _____      _____   ___ | | ___ 
| | '_ ` _ \   / __| |/ _ \| | | |/ _` | / __\ \ /\ / / _ \ / _ \| |/ _ \
| | | | | | | | (__| | (_) | |_| | (_| | \__ \ V  V / (_) | (_) | |  __/
|_|_| |_| |_|  \___|_|\___/ \__,_|\__,_| |___/ \_/\_/ \___/ \___/|_|\___|

im-cloud console (Version: 2.2.0)

Usage:
  php bin/app OPTIONS --opt -v -h ...

Options:
  --start      start the server 启动服务
  --restart    restart the server 重启服务
  --stop       stop the server  kill服务
  --reload     reload the server 重启worker
  --d          with deamon      守护模式
  --debug      start debug     开启debug
  --log=bool   true start log,false stop log 是否开启日志记录
  --h          Display this help message
  --v          Show application version information

                                       Cloud
  *********************************************************************************
  * GRPC      | Listen: 0.0.0.0:9500, type: HTTP2, mode: process, worker: 2
  * WEBSOCKET | Listen: 0.0.0.0:9500, type: WEBSOCKET, mode: process, worker: 2
  * TCP       | Listen: 0.0.0.0:9501, type: Tcp, model: TCP, worker: 2
  *********************************************************************************

framework's People

Contributors

brewlin avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mwily

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.