Skip to content

Commit

Permalink
废弃 Hprose
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Oct 23, 2023
1 parent fcfe518 commit 9db3de0
Show file tree
Hide file tree
Showing 31 changed files with 6 additions and 1,297 deletions.
1 change: 0 additions & 1 deletion .github/php.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ RUN set -eux \
&& curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && chmod +x /usr/bin/composer \
&& curl -L -o swoole.tar.gz https://github.com/swoole/swoole-src/archive/${SWOOLE_VERSION}.tar.gz && mkdir -p swoole && tar -xzf swoole.tar.gz -C swoole --strip-components=1 && rm swoole.tar.gz && cd swoole && ((stat ./make.sh && ./make.sh) || (stat ./scripts/make.sh && ./scripts/make.sh)) && cd - && docker-php-ext-enable swoole \
&& bash /tmp/script/swoole_postgresql.sh ${POSTGRESQL_VERSION} \
&& bash /tmp/script/hprose.sh \
&& echo "zend_extension=opcache.so" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
8 changes: 0 additions & 8 deletions .github/script/hprose.sh

This file was deleted.

1 change: 0 additions & 1 deletion .github/swoole.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ RUN set -eux \
&& pecl install apcu \
&& docker-php-ext-enable apcu \
&& bash /tmp/script/swoole_postgresql.sh ${POSTGRESQL_VERSION} \
&& bash /tmp/script/hprose.sh \
&& echo "zend_extension=opcache.so" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
1 change: 0 additions & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@
PhpCsFixer\Finder::create()
->in(__DIR__)
->notPath('src/Components/swoole/src/Util/Coroutine.typed.php') // 兼容 Swoole 5.0,需要 PHP >= 8.0
->notPath('src/Components/hprose/src/Imi-Server-Hprose/Server.php') // bug: https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6534
->notPath('src/Components/grpc/example/grpc')
)
;
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

imi 是一款支持长连接微服务分布式的 PHP 开发框架,它可以运行在 `PHP-FPM``Swoole``Workerman``RoadRunner` 等多种容器环境下。

imi 提供了丰富的基础功能:`MySQL``PostgreSQL``Redis``超强超好用的自研 ORM``连接池``Web Api``Web MVC``WebSocket``TCP Server``UDP Server``HTTP2``MQTT``gRPC``容器化(Container)``依赖注入``Aop``事件``异步(Async)``缓存(Cache)``命令行(Command)``配置化(Config)``上下文(Context)``定时任务(Cron)``门面(Facade)``验证器(Validate)``锁(Lock)``日志(Log)``定时器(Timer)``权限控制``消息队列(RabbitMQ、Kafka、Redis)``Swagger``Hprose``宏(Macro)``限流``共享内存``Smarty``雪花算法发号器(Snowflake)``Workerman Gateway``InfluxDB``TDengine` 等组件。
imi 提供了丰富的基础功能:`MySQL``PostgreSQL``Redis``超强超好用的自研 ORM``连接池``Web Api``Web MVC``WebSocket``TCP Server``UDP Server``HTTP2``MQTT``gRPC``容器化(Container)``依赖注入``Aop``事件``异步(Async)``缓存(Cache)``命令行(Command)``配置化(Config)``上下文(Context)``定时任务(Cron)``门面(Facade)``验证器(Validate)``锁(Lock)``日志(Log)``定时器(Timer)``权限控制``消息队列(RabbitMQ、Kafka、Redis)``Swagger``宏(Macro)``限流``共享内存``Smarty``雪花算法发号器(Snowflake)``Workerman Gateway``InfluxDB``TDengine` 等组件。

同时,imi 还提供了微服务相关支持:`Nacos 配置中心``etcd 配置中心``Nacos 服务注册``Nacos 服务发现``Swoole Tracker``Zipkin``Jaeger``Prometheus``InfluxDB 服务指标监控``TDengine 服务指标监控``负载均衡` 等组件。

Expand Down
2 changes: 1 addition & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

imi 是一款支持长连接微服务分布式的 PHP 开发框架,可在 `PHP-FPM``Swoole``Workerman``RoadRunner` 等多种容器环境下运行。

imi 提供了丰富的基础功能:`MySQL``PostgreSQL``Redis``超强超好用的自研 ORM``连接池``Web Api``Web MVC``WebSocket``TCP Server``UDP Server``HTTP2``MQTT``gRPC``容器化(Container)``依赖注入``Aop``事件``异步(Async)``缓存(Cache)``命令行(Command)``配置化(Config)``上下文(Context)``定时任务(Cron)``门面(Facade)``验证器(Validate)``锁(Lock)``日志(Log)``定时器(Timer)``权限控制``消息队列(RabbitMQ、Kafka、Redis)``Swagger``Hprose``宏(Macro)``限流``共享内存``Smarty``雪花算法发号器(Snowflake)``Workerman Gateway``InfluxDB``TDengine` 等组件。
imi 提供了丰富的基础功能:`MySQL``PostgreSQL``Redis``超强超好用的自研 ORM``连接池``Web Api``Web MVC``WebSocket``TCP Server``UDP Server``HTTP2``MQTT``gRPC``容器化(Container)``依赖注入``Aop``事件``异步(Async)``缓存(Cache)``命令行(Command)``配置化(Config)``上下文(Context)``定时任务(Cron)``门面(Facade)``验证器(Validate)``锁(Lock)``日志(Log)``定时器(Timer)``权限控制``消息队列(RabbitMQ、Kafka、Redis)``Swagger``宏(Macro)``限流``共享内存``Smarty``雪花算法发号器(Snowflake)``Workerman Gateway``InfluxDB``TDengine` 等组件。

同时,imi 还提供了微服务相关支持:`Nacos 配置中心``etcd 配置中心``Nacos 服务注册``Nacos 服务发现``Swoole Tracker``Zipkin``Jaeger``Prometheus``InfluxDB 服务指标监控``TDengine 服务指标监控``负载均衡` 等组件。

Expand Down
2 changes: 0 additions & 2 deletions doc/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@

## RPC 服务

* [Hprose](components/rpc/hprose.md)
* [gRPC](components/rpc/grpc.md)
* [gRPC 服务开发](components/rpc/grpc.md)
* [Protobuf](components/rpc/grpc-protobuf.md)
Expand Down Expand Up @@ -215,7 +214,6 @@
* [PostgreSQL](components/db/pgsql.md)
* [MQTT](components/mqtt/server.md)
* [gRPC](components/rpc/grpc.md)
* [Hprose](components/rpc/hprose.md)
* [消息队列](components/mq/redis.md)
* [AMQP](components/mq/amqp.md)
* [Kafka](components/mq/kafka.md)
Expand Down
4 changes: 4 additions & 0 deletions doc/base/version/2.1-3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@

废弃并移出主仓库,代码仓库:<https://github.com/imiphp/imi-macro>

### imi-hprose

由于 Hprose 官方弃坑,废弃并移出主仓库,代码仓库:<https://github.com/imiphp/imi-hprose>

### 废弃

* 废弃命名空间声明在 `config.php` 的写法,统一写到 `composer.json``imi.namespace`
Expand Down
1 change: 0 additions & 1 deletion doc/components/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* [MQTT](/components/mqtt/server.html)
* [RPC](https://github.com/imiphp/imi-rpc)
* [gRPC](/components/rpc/grpc.html)
* [Hprose](/components/rpc/hprose.html)
* [消息队列](/components/mq/redis.html)
* [AMQP](/components/mq/amqp.html)
* [Kafka](/components/mq/kafka.html)
Expand Down
170 changes: 0 additions & 170 deletions doc/components/rpc/hprose.md

This file was deleted.

3 changes: 0 additions & 3 deletions split-repository/release.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@ function getBranch(): string
'src/Components/grpc' => [
'[email protected]:imiphp/imi-grpc',
],
'src/Components/hprose' => [
'[email protected]:imiphp/imi-hprose',
],
'src/Components/jwt' => [
'[email protected]:imiphp/imi-jwt',
],
Expand Down
3 changes: 0 additions & 3 deletions split-repository/split.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@ function saveConfig(): void
'src/Components/grpc' => [
'[email protected]:imiphp/imi-grpc',
],
'src/Components/hprose' => [
'[email protected]:imiphp/imi-hprose',
],
'src/Components/jwt' => [
'[email protected]:imiphp/imi-jwt',
],
Expand Down
9 changes: 0 additions & 9 deletions src/Components/hprose/.gitattributes

This file was deleted.

13 changes: 0 additions & 13 deletions src/Components/hprose/.github/workflows/pr.yml

This file was deleted.

2 changes: 0 additions & 2 deletions src/Components/hprose/.gitignore

This file was deleted.

87 changes: 0 additions & 87 deletions src/Components/hprose/LICENSE

This file was deleted.

Loading

0 comments on commit 9db3de0

Please sign in to comment.