edlcdmc/stomp-php
Composer 安装命令:
composer require edlcdmc/stomp-php
包简介
stomp support for PHP
关键字:
README 文档
README
A simple PHP Stomp Client
Version choice
There are 2 Versions of stomp-php. 1.x is compatible with PHP <= PHP-5.2 as it does not use PHP-5.3 specific features.
The master branch uses features such as namespaces and newer constants and will become the 2.x release in the near future.
For versioning semantic versioning is used.
The different Versions can be found at the tags section.
Installing
The source is PSR-0 compliant. So just donwload the source and add the Namespace "FuseSource" to your autoloader configuration with the path pointing to src/.
As an alternate you have the possibility to make use of composer to manage your project dependencies.
Just add
"require": {
"fusesource/stomp-php" : "2.0.*"
}
to your project composer.json.
Running Examples
Examples are located in src/examples folder. Before running them, be sure
you have installed this library properly and you have started ActiveMQ broker
(recommended version 5.5.0 or above) with [Stomp connector enabled]
(http://activemq.apache.org/stomp.html).
You can start by running
cd examples
php first.php
Also, be sure to check comments in the particular examples for some special configuration steps (if needed).
Documentation
Step by Step: Certificate based Authentication
https://github.com/rethab/php-stomp-cert-example
Tests
The tests at the moment need a running instance of activeMQ listening on the default STOMP Port 61613.
To run the tests you first need to fetch the dependencies for the test suite via composer:
$ php composer.phar install
edlcdmc/stomp-php 适用场景与选型建议
edlcdmc/stomp-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 37 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 09 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「messaging」 「stomp」 「jms」 「activeMQ」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 edlcdmc/stomp-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 edlcdmc/stomp-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 edlcdmc/stomp-php 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
STOMP bindings for React.
Bridge between JMS Serializer Bundle and Superdesk Web Publisher.
This bridge allows you to use jms payment plugins but in payum like way.
Laravel Stomp driver
Message Queue Stomp Transport
MongoDB support for JMSPaymentCoreBundle
统计信息
- 总下载量: 37
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2018-09-14