{"id":39345633,"url":"https://github.com/stomp-php/stomp-php","last_synced_at":"2026-01-18T02:21:22.199Z","repository":{"id":20382810,"uuid":"23658479","full_name":"stomp-php/stomp-php","owner":"stomp-php","description":"Stomp PHP Client","archived":false,"fork":false,"pushed_at":"2026-01-12T10:01:23.000Z","size":568,"stargazers_count":128,"open_issues_count":24,"forks_count":62,"subscribers_count":8,"default_branch":"master","last_synced_at":"2026-01-12T18:50:52.946Z","etag":null,"topics":["activemq","apollo-client","message-queue","php","rabbitmq-client","stomp"],"latest_commit_sha":null,"homepage":"https://github.com/stomp-php/stomp-php/wiki","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stomp-php.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["jmglsn","staabm"]}},"created_at":"2014-09-04T10:41:35.000Z","updated_at":"2026-01-12T10:47:15.000Z","dependencies_parsed_at":"2024-06-18T11:15:49.544Z","dependency_job_id":"2429b544-fbda-4140-a53a-faeb64211a00","html_url":"https://github.com/stomp-php/stomp-php","commit_stats":{"total_commits":302,"total_committers":38,"mean_commits":7.947368421052632,"dds":0.5993377483443709,"last_synced_commit":"cf1fbd79cf48b9701909e42205f1d968cec6ff7a"},"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/stomp-php/stomp-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stomp-php%2Fstomp-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stomp-php%2Fstomp-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stomp-php%2Fstomp-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stomp-php%2Fstomp-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stomp-php","download_url":"https://codeload.github.com/stomp-php/stomp-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stomp-php%2Fstomp-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28526569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activemq","apollo-client","message-queue","php","rabbitmq-client","stomp"],"created_at":"2026-01-18T02:21:22.129Z","updated_at":"2026-01-18T02:21:22.191Z","avatar_url":"https://github.com/stomp-php.png","language":"PHP","readme":"# Stomp PHP\n\n[![Build Status](https://travis-ci.org/stomp-php/stomp-php.svg?branch=master)](https://travis-ci.org/stomp-php/stomp-php)\n\nThis project is a PHP [Stomp](http://stomp.github.com) Client that besides it implements the Stomp protocol fully,\nbrings some ActiveMQ and Apollo specific utils that could make your messaging from PHP easier.\n\n## Credits\n\nThis library was initially developed by [Dejan Bosanac](https://github.com/dejanb). \nWe would like to thank you for your work and we're happy to continue it.\n\n## Version choice\n\n- For new projects you should use version `4.*` which requires `php-5.6`. Support for `php-5.6` ends with version `5.*`.\n- 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.\n- For running projects with `fusesource/stomp-php@2.x` clients you can use version `2.2.2`.\n- All version newer that `2.x` won't be compatible with `fusesource/stomp-php`. (https://github.com/dejanb/stomp-php.)  \n\n## Installing\n\n```bash\ncomposer require stomp-php/stomp-php\n```\n\n## Examples\n\nYou find different usage tutorials in our example project https://github.com/stomp-php/stomp-php-examples.\n\n### Connection Probing\n\nIt's hard to find out if a socket connection is still working or not, Stomp allows us to use heartbeats to test if client\nand server are ready to serve messages.\n\nYou should use `\\Stomp\\Network\\Observer\\ServerAliveObserver` or `\\Stomp\\Network\\Observer\\HeartbeatEmitter` to receive or \nsend heartbeats. Doing so will ensure that your client will detect a broken connection in time. Please have a look at\nhttps://github.com/stomp-php/stomp-php-examples for some example code with additonal comments.\n\n## Replace fusesource/stomp-php\n\nIf you used `fusesource/stomp-php` before, you can use our `2.x` versions.\n\n```json\n    \"require\": {\n        \"stomp-php/stomp-php\": \"2.*\"\n    }\n```\n \n## Contributing\n\nWe code in `PSR2`, please use our predefined `pre_commit.sh` hook. \n\n## Tests\n\nTo run the tests you first need to fetch the dependencies for the test suite\nvia composer:\n\n    $ php composer.phar install\n\nThe functional testsuite is divided into three broker versions.\nCurrently it's running on `ActiveMq` (Port 61010), `Apollo` (61020), `RabbitMq` (61030), `Artemis` (61040).\nApollo should be configured to use admin:password and RabbitMq to guest:guest.\nWhile ActiveMq must be configured to use no login at all.\n\nYou can setup all brokers by running `travisci/bin/start.sh`. Stop them by `travisci/bin/stop.sh`. (Docker is required.)\n\nIf you only like to run the functional generic tests, ensure Apollo is configured. \nA basic setup can be achieved by running `./travisci/bin/apollo-mq.sh 1.7.1`. \n(If you want to create a local running broker, you find the config / setup at `travisci/docker/apollo-mq/`)\n\n## Licence\n\n[Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)","funding_links":["https://github.com/sponsors/jmglsn","https://github.com/sponsors/staabm"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstomp-php%2Fstomp-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstomp-php%2Fstomp-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstomp-php%2Fstomp-php/lists"}