Download the PHP package fusesource/stomp-php without Composer

On this page you can find all versions of the php package fusesource/stomp-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package stomp-php

A simple PHP Stomp Client

This Project Has Been Deprecated

This repository is no longer maintained. We support and maintain the successor of this codebase at stomp-php/stomp-php.

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

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

All versions of stomp-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fusesource/stomp-php contains the following files

Loading the files please wait ....