PHPackages                             yjtec/laravel-hprose - 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. [API Development](/categories/api)
4. /
5. yjtec/laravel-hprose

ActiveLibrary[API Development](/categories/api)

yjtec/laravel-hprose
====================

yjtec laravel rpc

1.0.8(6y ago)12771MITPHPPHP &gt;=7.0.0

Since Sep 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/yjtec/laravel-hprose)[ Packagist](https://packagist.org/packages/yjtec/laravel-hprose)[ RSS](/packages/yjtec-laravel-hprose/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (8)Used By (0)

laravel-hprose
==============

[](#laravel-hprose)

1.命令工具
------

[](#1命令工具)

1.1 php artisan make:rpc
------------------------

[](#11-php-artisan-makerpc)

> 创建rpc服务器端controller文件

1.2 php artisan make:rpcp
-------------------------

[](#12-php-artisan-makerpcp)

> 创建paramter参数验证文件

1.3 php artisan hprose:server
-----------------------------

[](#13-php-artisan-hproseserver)

> 启动socket服务命令

1.4 php artisan hprose:http\_server
-----------------------------------

[](#14-php-artisan-hprosehttp_server)

> 启动swoole http服务命令

2配置说明
-----

[](#2配置说明)

2.1.env参数说明
-----------

[](#21env参数说明)

参数说明默认值ENABLE\_SOCKET\_SERVER是否开启socket服务true开启ENABLE\_SWOOLE\_HTTP\_SERVER是否开启swoole http服务true开启HPROSE\_TCP\_URIStcp监听端口列表\["tcp://0.0.0.0:1314"\]HPROSE\_HTTP\_URIhttp域名```
ENABLE_SOCKET_SERVER=true|false
ENABLE_SWOOLE_HTTP_SERVER=true|false
HPROSE_TCP_URIS=["tcp://0.0.0.0:1314","tcp://0.0.0.0:1888"]
HPROSE_HTTP_URI=http://0.0.0.0:8088

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Recently: every ~29 days

Total

7

Last Release

2305d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48311842?v=4)[Yjtec](/maintainers/Yjtec)[@yjtec](https://github.com/yjtec)

---

Top Contributors

[![kidkang](https://avatars.githubusercontent.com/u/22092546?v=4)](https://github.com/kidkang "kidkang (9 commits)")[![yjtec](https://avatars.githubusercontent.com/u/48311842?v=4)](https://github.com/yjtec "yjtec (1 commits)")

### Embed Badge

![Health badge](/badges/yjtec-laravel-hprose/health.svg)

```
[![Health](https://phpackages.com/badges/yjtec-laravel-hprose/health.svg)](https://phpackages.com/packages/yjtec-laravel-hprose)
```

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
