2017 © Pedro PelĂĄez
 

library stomp-php

stomp support for PHP

image

stomp-php/stomp-php

stomp support for PHP

  • Monday, March 19, 2018
  • by fin-sn.de
  • Repository
  • 5 Watchers
  • 49 Stars
  • 249,131 Installations
  • PHP
  • 12 Dependents
  • 4 Suggesters
  • 25 Forks
  • 3 Open issues
  • 33 Versions
  • 14 % Grown

The README.md

Stomp PHP

Build Status, (*1)

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., (*2)

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., (*3)

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/stomp-php@2.x 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., (*4)

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., (*5)

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., (*6)

Replace fusesource/stomp-php

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

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

Contributing

We code in PSR2, please use our predefined pre_commit.sh hook., (*8)

Tests

To run the tests you first need to fetch the dependencies for the test suite via composer:, (*9)

$ 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., (*10)

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

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/), (*12)

Licence

Apache License Version 2.0, (*13)

The Versions

19/03 2018

dev-master

9999999-dev http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

19/03 2018

4.4.0

4.4.0.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

19/02 2018

dev-staabm-patch-1

dev-staabm-patch-1 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

15/11 2017

4.3.1

4.3.1.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

27/09 2017

dev-staabm-patch-2

dev-staabm-patch-2 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

15/09 2017

dev-support/version-3

dev-support/version-3 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

The Development Requires

rabbitmq messaging jms stomp activemq

15/09 2017

3.0.7

3.0.7.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

The Development Requires

rabbitmq messaging jms stomp activemq

15/09 2017

4.3.0

4.3.0.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

11/06 2017

4.2.2

4.2.2.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

21/12 2016

4.2.1

4.2.1.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

18/12 2016

4.2.0

4.2.0.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

18/12 2016

4.1.5

4.1.5.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

26/08 2016

4.1.4

4.1.4.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

29/07 2016

4.1.3

4.1.3.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

18/06 2016

4.1.2

4.1.2.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

18/06 2016

4.1.1

4.1.1.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

31/05 2016

4.1.0

4.1.0.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

07/02 2016

3.0.6

3.0.6.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

The Development Requires

rabbitmq messaging jms stomp activemq

07/02 2016

4.0.1

4.0.1.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

06/02 2016

dev-support/version-2

dev-support/version-2 http://github.com/dejanb/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

messaging jms stomp activemq

06/02 2016

2.2.3

2.2.3.0 http://github.com/dejanb/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

messaging jms stomp activemq

14/12 2015

4.0.0

4.0.0.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.0

 

The Development Requires

rabbitmq messaging jms stomp activemq apollomq

09/12 2015

3.0.5

3.0.5.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

The Development Requires

rabbitmq messaging jms stomp activemq

07/12 2015

3.0.4

3.0.4.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

The Development Requires

rabbitmq messaging jms stomp activemq

02/12 2015

3.0.3

3.0.3.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

The Development Requires

rabbitmq messaging jms stomp activemq

24/11 2015

3.0.2

3.0.2.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

The Development Requires

rabbitmq messaging jms stomp activemq

14/10 2015

3.0.1

3.0.1.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

The Development Requires

rabbitmq messaging jms stomp activemq

03/10 2015

2.2.2

2.2.2.0 http://github.com/dejanb/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

messaging jms stomp activemq

24/09 2015

3.0.0

3.0.0.0 http://github.com/stomp-php/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

The Development Requires

rabbitmq messaging jms stomp activemq

23/02 2013

2.1.1

2.1.1.0 http://github.com/dejanb/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

messaging jms stomp activemq

22/01 2013

2.1.0

2.1.0.0 http://github.com/dejanb/stomp-php

stomp support for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

messaging jms stomp activemq

13/07 2012

2.0.1

2.0.1.0 http://github.com/dejanb/stomp-php

stomp support for PHP

  Sources   Download

Apache 2.0

The Requires

  • php >=5.3.0

 

messaging jms stomp activemq

15/03 2012

2.0.0

2.0.0.0 http://github.com/dejanb/stomp-php

stomp support for PHP

  Sources   Download

Apache 2.0

The Requires

  • php >=5.3.0

 

messaging jms stomp activemq