PHPackages                             wyrihaximus/ratchet - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. wyrihaximus/ratchet

AbandonedArchivedCakephp-plugin[API Development](/categories/api)

wyrihaximus/ratchet
===================

Ratchet websockets integration plugin for CakePHP

0.1.0(11y ago)5073.1k11[1 issues](https://github.com/WyriHaximus/Ratchet/issues)[23 PRs](https://github.com/WyriHaximus/Ratchet/pulls)3MITPHPPHP &gt;=5.4.0

Since Oct 22Pushed 11mo ago3 watchersCompare

[ Source](https://github.com/WyriHaximus/Ratchet)[ Packagist](https://packagist.org/packages/wyrihaximus/ratchet)[ Docs](http://wyrihaximus.net/projects/cakephp/ratchet.html)[ RSS](/packages/wyrihaximus-ratchet/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (3)Versions (27)Used By (3)

Ratchet
=======

[](#ratchet)

[![Build Status](https://camo.githubusercontent.com/c11c22f037fe557288d7ed72c9bfd0c7fa597e92b72dd1ac48c6a81df0bec462/68747470733a2f2f7472617669732d63692e6f72672f57797269486178696d75732f526174636865742e706e67)](https://travis-ci.org/WyriHaximus/Ratchet)[![Latest Stable Version](https://camo.githubusercontent.com/81e174a6a5619fdf40744f3dca573a525d5b4ac5b48366d06721e2c93c70cb12/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f726174636865742f762f737461626c652e706e67)](https://packagist.org/packages/WyriHaximus/ratchet)[![Total Downloads](https://camo.githubusercontent.com/4e27a964c4302d57bd08c0e56ba16f22943a71ffa6fbd5e01a97c73ae420c028/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f726174636865742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/wyrihaximus/ratchet)[![Code Coverage](https://camo.githubusercontent.com/01fd23f39a77c3fa87f010b6d13c0b497a290f15e79b22b572b1144511ad1307/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f57797269486178696d75732f526174636865742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/WyriHaximus/Ratchet/?branch=master)[![License](https://camo.githubusercontent.com/3ed6703df9d26cb2de6d1f8f76a45315f2854f1dd5411a79ed93e5daf561db80/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f726174636865742f6c6963656e73652e706e67)](https://packagist.org/packages/wyrihaximus/ratchet)[![PHP 7 ready](https://camo.githubusercontent.com/9f1afa5d42cdf584dcbd842ed782ae0da39e6b8b1ebad40a4186f72d9ad4145d/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f57797269486178696d75732f526174636865742f62616467652e737667)](https://travis-ci.org/WyriHaximus/Ratchet)

CakePHP plugin wrapping Ratchet

Current status
--------------

[](#current-status)

Currently I'm rewriting this plugin for CakePHP v3.

What is Ratchet
---------------

[](#what-is-ratchet)

Ratchet for CakePHP brings [the Ratchet websocket](http://socketo.me/) package to CakePHP. Websockets allow you to utilize near-real-time communication between your application and it's visitors. For example notifying a page the associated record in the database has been updated using the [Pushable behaviour](http://wyrihaximus.net/projects/cakephp/ratchet/documentation/model-push.html).

Getting started
---------------

[](#getting-started)

Keep in mind that this should only be used to push data around. Handling and processing that data is the applications job this plugin is only to get it from and to the client.

Installation
------------

[](#installation)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `~`.

```
composer require wyrihaximus/ratchet
```

Bootstrap
---------

[](#bootstrap)

Add the following to your `config/bootstrap.php` to load the plugin.

```
Plugin::load('WyriHaximus/Ratchet', [
    'bootstrap' => true,
]);
```

For a proper way to boot the server check out the [Ratchet example supervisor configuration](http://socketo.me/docs/deploy#supervisor).

Documentation
-------------

[](#documentation)

For more abundant documentation on this project, check the [project documentation site](http://wyrihaximus.net/projects/cakephp/ratchet/documentation.html "Ratchet for CakePHP documentation").

Plugin License
--------------

[](#plugin-license)

(The MIT License)

Copyright © 2012 - 2015 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4314d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (505 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (49 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (29 commits)")[![Rinum](https://avatars.githubusercontent.com/u/569299?v=4)](https://github.com/Rinum "Rinum (6 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![jeremyharris](https://avatars.githubusercontent.com/u/184903?v=4)](https://github.com/jeremyharris "jeremyharris (1 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

hacktoberfestcakephpWebSocketsRatchet

### Embed Badge

![Health badge](/badges/wyrihaximus-ratchet/health.svg)

```
[![Health](https://phpackages.com/badges/wyrihaximus-ratchet/health.svg)](https://phpackages.com/packages/wyrihaximus-ratchet)
```

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

43.5k344.8k1](/packages/ccxt-ccxt)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k17.3k100](/packages/elgg-elgg)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k434.3k26](/packages/team-reflex-discord-php)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19256.6k4](/packages/civicrm-civicrm-drupal-8)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
