Download the PHP package eole/sandstone without Composer
On this page you can find all versions of the php package eole/sandstone. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package sandstone
Sandstone
PHP microframework designed to build a RestApi working together with a websocket server.
Build a real time RestApi!
:speech_balloon: New (18 April 2018)
I opened a chat channel where you can get help, give feedback, and talk about Sandstone (Mattermost instance):
:speech_balloon: https://framateam.org/sandstone :speech_balloon:
Install
Usage
Create a Sandstone application
Sandstone is a Silex application with websockets:
Declare a websocket topic
Similar as declaring a Silex route:
See ChatTopic class here.
Send push notifications
When an endpoint is called on the RestApi, i.e POST /api/articles
and update a resource,
you can send a push notification to notify this update.
On the RestApi stack:
Then on the websocket stack:
Examples
Working examples from scratch:
Documentation
See the full documentation here
Sandstone edition
You're planning to start a new real-time Rest Api application based on Sandstone?
You may be interested by Sandstone edition.
It already integrates a Sandstone application with a docker environment, a database, debug tools...
Get started with Sandstone edition.
Misc
Articles about Sandstone:
- Sandstone explained to NodeJS, Python or PHP users
- Creating a poker planning application with PHP and websockets
- What is Sandstone, What can I do with Sandstone
Big picture: https://eole-io.github.io/sandstone-doc/big-picture
Changelog
See Releases page.
License
This library is under MIT License.
All versions of sandstone with dependencies
ext-zmq Version *
psr/log Version ~1.0
react/zmq Version 0.2.*|0.3.*
cboden/ratchet Version 0.4.*
league/oauth2-server Version 6.*
symfony/event-dispatcher Version ~3.0|~4.0
symfony/security Version ~2.8|~3.0|~4.0
symfony/yaml Version ~2.8|~3.0|~4.0
symfony/http-kernel Version ~2.8|~3.0|~4.0
symfony/http-foundation Version ~2.8|~3.0|~4.0
symfony/routing Version ~2.8|~3.0|~4.0
alcalyn/authorization-header-fix Version ~1.0.0
jms/serializer Version ^1.4
alcalyn/serializer-doctrine-proxies Version ~1.1.0
pimple/pimple Version ~3.0
silex/silex Version ~2.0