All Projects → TarsPHP → Tarsphp

TarsPHP / Tarsphp

基础目录,聚合所有其他目录,包含文档和例子

Labels

Projects that are alternatives of or similar to Tarsphp

Yii2 Swoole
yii2 swoole,让yii2运行在swoole上
Stars: ✭ 317 (-37.23%)
Mutual labels:  swoole
Hyperf
🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
Stars: ✭ 4,206 (+732.87%)
Mutual labels:  swoole
Groupco
PHP的服务化框架。适用于Api、Http Server、Rpc Server;帮助原生PHP项目转向微服务化。出色的性能与支持高并发的协程相结合
Stars: ✭ 473 (-6.34%)
Mutual labels:  swoole
Laravel S
LaravelS is an out-of-the-box adapter between Swoole and Laravel/Lumen.
Stars: ✭ 3,479 (+588.91%)
Mutual labels:  swoole
Yurunoauthlogin
PHP 第三方登录授权 SDK,集成了QQ、微信、微博、Github等常用接口。支持 php-fpm 和 Swoole,所有框架通用。QQ群:17916227
Stars: ✭ 330 (-34.65%)
Mutual labels:  swoole
Swoole Bot
基于swoole实现的微信机器人,依赖vbot和微信网页版的功能,帮助管理微信群/聊天/踢人等
Stars: ✭ 404 (-20%)
Mutual labels:  swoole
Queryphp
🔥High Performance PHP Progressive Framework.
Stars: ✭ 299 (-40.79%)
Mutual labels:  swoole
Cms
Feehi CMS based on yii2
Stars: ✭ 493 (-2.38%)
Mutual labels:  swoole
Laravel Swoole
High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
Stars: ✭ 3,726 (+637.82%)
Mutual labels:  swoole
Laravelfly
To be an absolutely safe solution to speed up Laravel with Swoole. Preloading + Coroutine and Tinker Online.
Stars: ✭ 459 (-9.11%)
Mutual labels:  swoole
Simps
🚀 A simple, lightweight and high-performance PHP coroutine framework.
Stars: ✭ 318 (-37.03%)
Mutual labels:  swoole
Swoole Src
🚀 Coroutine-based concurrency library for PHP
Stars: ✭ 17,175 (+3300.99%)
Mutual labels:  swoole
Fastd
🚀 A high performance PHP API framework.
Stars: ✭ 423 (-16.24%)
Mutual labels:  swoole
Reading
整理阅读过的干货文章, 帖子
Stars: ✭ 318 (-37.03%)
Mutual labels:  swoole
Dora Rpc
DoraRPC is an RPC For the PHP MicroService by The Swoole
Stars: ✭ 475 (-5.94%)
Mutual labels:  swoole
Lawoole
Lawoole is a high-performance PHP framework based on Laravel and Swoole
Stars: ✭ 300 (-40.59%)
Mutual labels:  swoole
Ide Helper
📘 Swoole IDE Helper
Stars: ✭ 378 (-25.15%)
Mutual labels:  swoole
Swoolefy
swoolefy是一个基于swoole实现的轻量级、高性能、协程级、开放性的API应用服务框架
Stars: ✭ 495 (-1.98%)
Mutual labels:  swoole
Fashop
php开源商城系统,基于swoole、easyswoole框架开发
Stars: ✭ 485 (-3.96%)
Mutual labels:  swoole
Easyswoole
swoole,easyswoole,swoole framework
Stars: ✭ 4,409 (+773.07%)
Mutual labels:  swoole

TARS-PHP

Tars PHP is a solution for PHP to use the tars binary protocol, as well as the overall operation and maintenance of the tars platform, RPC and a series of capabilities. It mainly consists of the following parts:

If you want to experience tar server quickly, please enter the examples directory, which contains detailed deployment guidelines and development guidelines for three services

Refer to here for more detailed documents https://tarsphp.gitbook.io/doc

tars-client

The PHP ability to call the tar service is provided in the tar client, including:

  • Call the instance of the remote service;

  • Main dispatching Report

  • Automatic addressing module

Detailed description

tars-server

Tars-server provides the underlying server framework and supports the following features

  • High performance service based on swoole1. X / 2. X / 4. X

  • Support two protocol modes: tup protocol and tar stream

  • Support three kinds of servers: http, TCP and timer

  • Reporting, monitoring and log integration

  • Tars platform release support Details Description

tars-config

The ability module to pull configuration files from the configuration service of the tar platform.

Details Description

tars-deploy

The module that packs the business code of tar server.

Detailed description

tars-extension

The PHP extension code that tar relies on Detailed description

tars-log

Tars Modules of remote log Detailed description

tars-monitor

tarsFunction modules for main dispatching report and feature report Detailed description

tars-registry

The function module of tars for master addressing Detailed description

tars-report

tars Module of keeping alive Report Detailed description

tars-utils

tars Module for profile resolution Detailed description

examples

Three actual server instances and descriptions of TCP, HTTP and timer:

tars2php

The tool of automatic code generation can automatically generate server and client code. Detailed description

tars Platform modification instructions for PHP

Compared with the default template tar.default, PHP adds tar.tarsphp.default, mainly including the following parts:

    <tars>
        ...
        <application>
            <server>
                ...
                php=/data/env/runtime/php-7.1.7/bin/php
                buffer_output_size=12582912
                open_tcp_nodelay=1
                open_eof_check=0
                open_eof_split=0
                task_worker_num=1
                dispatch_mode=2
                daemonize=1
                ...
            </server>
        </application>
        ...
    </tars>
  • Support custom PHP execution file (/ tar / application / server < PHP >), default / usr / bin / PHP.

  • Support the configuration of the startup file of the custom tar s_php framework (/ tar s / application / server < entry >), and the Src / index.php under the default project directory.

  • The startup script generated by the tar platform will execute the startup and shutdown script with entrance as the entry file.

In the tar server module, three different HTTP, timer and TCP servers need to use different modules. Please be sure to add and modify new templates!!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].