Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Authentication
Client
Content
Controller
DependencyInjection
EventListener
Exception
Periodic
Resources
Security
Tests
Topic
Twig
OroSyncBundle.php
README.md
composer.json

README.md

OroSyncBundle

OroSyncBundle uses GosWebSocketBundle to enable real-time websocket notifications between an Oro application server and users' browsers.

Out-of-the-box, OroSyncBundle triggers flash notifications about the outdated content if several users try to edit the same entity record simultaneously. It also sends flash notifications to all application site visitors once a developer turns on the system maintenance mode by a console's CLI tool.

Table of Contents

Usage

You should be able to run this from the root of your symfony installation:

php bin/console gos:websocket:server

If everything is successful, you will see no output in prod mode, and something similar to the following in dev mode:

INFO      [websocket] Starting web socket
INFO      [websocket] Launching Ratchet on 127.0.0.1:8080 PID: 4675

This means the websocket server is now up and running!

Logging Levels

Logging levels are different in dev and prod modes by default. Prod mode:

  • Normal: WARNING and higher
  • Verbose (-v): NOTICE and higher
  • Very verbose (-vv): INFO and higher
  • Debug (-vvv): DEBUG and higher

Dev mode:

  • Normal: INFO and higher
  • Verbose (-v): DEBUG and higher
You can’t perform that action at this time.