All Projects → stomp-php → Stomp Php

stomp-php / Stomp Php

Licence: apache-2.0
Stomp PHP Client

Projects that are alternatives of or similar to Stomp Php

Enqueue Bundle
[READ-ONLY] Message queue bundle for Symfony. RabbitMQ, Amazon SQS, Redis, Service bus, Async events, RPC over MQ and a lot more
Stars: ✭ 233 (+147.87%)
Mutual labels:  message-queue, stomp
Delphistompclient
STOMP client for Embarcadero Delphi and FreePascal.
Stars: ✭ 93 (-1.06%)
Mutual labels:  activemq, stomp
Enqueue Dev
Message Queue, Job Queue, Broadcasting, WebSockets packages for PHP, Symfony, Laravel, Magento. DEVELOPMENT REPOSITORY - provided by Forma-Pro
Stars: ✭ 1,977 (+2003.19%)
Mutual labels:  message-queue, stomp
django-stomp
🔃 A simple implementation of STOMP with Django
Stars: ✭ 31 (-67.02%)
Mutual labels:  activemq, stomp
rx-stomp
STOMP adaptor for RxJS
Stars: ✭ 76 (-19.15%)
Mutual labels:  activemq, stomp
Weevent
Event-Driven Architecture Based on Blockchain.基于区块链的事件驱动架构
Stars: ✭ 608 (+546.81%)
Mutual labels:  message-queue, stomp
distmq
Distributed Message Queue based on Raft
Stars: ✭ 32 (-65.96%)
Mutual labels:  message-queue, activemq
Activemq Artemis
Mirror of Apache ActiveMQ Artemis
Stars: ✭ 685 (+628.72%)
Mutual labels:  activemq, stomp
Koatty
Koa2 + Typescript = Koatty. Use Typescript's decorator implement IOC and AOP.
Stars: ✭ 67 (-28.72%)
Mutual labels:  apollo-client
Message Db
Microservice native message and event store for Postgres
Stars: ✭ 1,260 (+1240.43%)
Mutual labels:  message-queue
Apollo Cache Invalidation
Experimental cache invalidation tools for Apollo.
Stars: ✭ 66 (-29.79%)
Mutual labels:  apollo-client
Spring React Boilerplate
Boilerplate application to demonstrate how to wire up Spring, JWT Authentication, React, Redux and Websockets
Stars: ✭ 70 (-25.53%)
Mutual labels:  stomp
So 5 5
SObjectizer: it's all about in-process message dispatching!
Stars: ✭ 87 (-7.45%)
Mutual labels:  message-queue
Rabbitmq Server
Open source RabbitMQ: core server and tier 1 (built-in) plugins
Stars: ✭ 9,064 (+9542.55%)
Mutual labels:  stomp
Nats Server
High-Performance server for NATS.io, the cloud and edge native messaging system.
Stars: ✭ 10,223 (+10775.53%)
Mutual labels:  message-queue
Artemis Dev Tool
An Apollo GraphQL Query Schema Testing Tool
Stars: ✭ 66 (-29.79%)
Mutual labels:  apollo-client
Cynthesize Frontend
Frontend written in Angular 7 and deployed GraphQL for Cynthesize. Development build: https://cynthesize-develop.netlify.com
Stars: ✭ 65 (-30.85%)
Mutual labels:  apollo-client
Apollo Link Webworker
Apollo link that lets you use graphql client-side only, with a webworker as a "server" supporting normal queries and subscriptions
Stars: ✭ 88 (-6.38%)
Mutual labels:  apollo-client
Apollo Client Devtools
Apollo Client browser developer tools.
Stars: ✭ 1,210 (+1187.23%)
Mutual labels:  apollo-client
Polymer Apollo
🚀 Polymer Apollo Integration
Stars: ✭ 77 (-18.09%)
Mutual labels:  apollo-client

Stomp PHP

Build Status

This project is a PHP Stomp Client that besides it implements the Stomp protocol fully, brings some ActiveMQ and Apollo specific utils that could make your messaging from PHP easier.

Credits

This library was initially developed by Dejan Bosanac. We would like to thank you for your work and we're happy to continue it.

Version choice

  • For new projects you should use version 4.* which requires php-5.6. Support for php-5.6 ends with version 5.*.
  • For projects running older php versions you can use version 4.2.* for php-5.5 and 3.* for php-5.3, please consider to update php.
  • For running projects with fusesource/[email protected] clients you can use version 2.2.2.
  • All version newer that 2.x won't be compatible with fusesource/stomp-php. (https://github.com/dejanb/stomp-php.)

Installing

composer require stomp-php/stomp-php

Examples

You find different usage tutorials in our example project https://github.com/stomp-php/stomp-php-examples.

Connection Probing

It's hard to find out if a socket connection is still working or not, Stomp allows us to use heartbeats to test if client and server are ready to serve messages.

You should use \Stomp\Network\Observer\ServerAliveObserver or \Stomp\Network\Observer\HeartbeatEmitter to receive or send heartbeats. Doing so will ensure that your client will detect a broken connection in time. Please have a look at https://github.com/stomp-php/stomp-php-examples for some example code with additonal comments.

Replace fusesource/stomp-php

If you used fusesource/stomp-php before, you can use our 2.x versions.

    "require": {
        "stomp-php/stomp-php": "2.*"
    }

Contributing

We code in PSR2, please use our predefined pre_commit.sh hook.

Tests

To run the tests you first need to fetch the dependencies for the test suite via composer:

$ php composer.phar install

The functional testsuite is divided into three broker versions. Currently it's running on ActiveMq (Port 61010), Apollo (61020), RabbitMq (61030), Artemis (61040). Apollo should be configured to use admin:password and RabbitMq to guest:guest. While ActiveMq must be configured to use no login at all.

You can setup all brokers by running travisci/bin/start.sh. Stop them by travisci/bin/stop.sh. (Docker is required.)

If you only like to run the functional generic tests, ensure Apollo is configured. A basic setup can be achieved by running ./travisci/bin/apollo-mq.sh 1.7.1. (If you want to create a local running broker, you find the config / setup at travisci/docker/apollo-mq/)

Licence

Apache License Version 2.0

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].