PHPackages                             hyperftars/tars - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. hyperftars/tars

ActiveLibrary

hyperftars/tars
===============

v1.0.0(5y ago)135MITPHPPHP &gt;=7.2

Since Dec 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/haozing/hyperftars)[ Packagist](https://packagist.org/packages/hyperftars/tars)[ RSS](/packages/hyperftars-tars/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (16)Versions (3)Used By (0)

hyperftars-dev
==============

[](#hyperftars-dev)

注意：开发版bug多，不要用于生产

### 目录结构

[](#目录结构)

```
scripts
---tars2php.sh
src
----app
----bin
----config
----runtime
----test
----vendor
.
.
.
tars
----example.tars
----tars.proto.php
```

安装
--

[](#安装)

```
composer require hyperftars/tars

```

### 同时需要使用 JSON RPC 服务端安装

[](#同时需要使用-json-rpc-服务端安装)

```
composer require hyperf/rpc-server

```

### 快速生成配置文件

[](#快速生成配置文件)

```
php bin/hyperf.php vendor:publish hyperftars/tars
```

### 配置自己的tars文件

[](#配置自己的tars文件)

文件位置config/autoload

```
