wyrihaximus / ratchet
Ratchet websockets integration plugin for CakePHP
Installs: 73 043
Dependents: 4
Suggesters: 0
Security: 0
Stars: 50
Watchers: 11
Forks: 11
Open Issues: 24
Type:cakephp-plugin
Requires
- php: >=5.4.0
- cboden/ratchet: 0.3.*
- composer/installers: *
- react/promise: ~2.0
Suggests
- mkraemer/react-pcntl: Add support for OS signaling
- dev-master
- 0.1.0
- dev-renovate/configure
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/terser-4.8.1
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/composer/composer/composer-1.10.26
- dev-dependabot/composer/guzzlehttp/psr7-1.8.5
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/pathval-1.1.1
- dev-dependabot/npm_and_yarn/tar-4.4.19
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/ini-1.3.7
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-dependabot/composer/symfony/http-foundation-4.4.7
- dev-dependabot/npm_and_yarn/acorn-6.4.1
- dev-dependabot/npm_and_yarn/webpack-4.29.1
- dev-var.ci
- dev-cake2
This package is auto-updated.
Last update: 2024-12-03 20:24:12 UTC
README
CakePHP plugin wrapping Ratchet
Current status
Currently I'm rewriting this plugin for CakePHP v3.
What is Ratchet
Ratchet for CakePHP brings the Ratchet websocket 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.
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
To install via Composer, use the command below, it will automatically detect the latest version and bind it with ~
.
composer require wyrihaximus/ratchet
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.
Documentation
For more abundant documentation on this project, check the project documentation site.
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.