Download the PHP package tiitoo/kijho-chat without Composer
On this page you can find all versions of the php package tiitoo/kijho-chat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package kijho-chat
kijho-chat
Bundle for chat
Chat plugin for Symfony 2.8 and 3.x
Preview
Screenshot admin panel: local.loc/app_dev.php/chat/admin Screenshot client panel: local.loc/app_dev.php/chat/client
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
In order to see the view, the bundle comes with a implementation.
Import the routing to your routing.yml
You must add FrchoCrontaskBundle to the assetic.bundle config
Enabled locale
Web Socket Configuration
Update the database schema and assets :
Launching the Server
The Server Side WebSocket installation is now complete. You should be able to run this from the root of your symfony installation.
If everything is successful, you will see something similar to the following:
This means the websocket server is now up and running !
From here, only the websocket server is running ! That doesn't mean you can subscribe, publish, call. Follow next step to do it :)
Ship in production
How run your websocket server in production ?
app/console gos:websocket:server --env=prod or bin/console gos:websocket:server --env=prod
Example with supervisord and other things will come
Fight against memory leak !
So why my memory increase all time ?
In development mode it's normal. (Don't bench memory leaks in this env, never) append your command with --env=prod Are you using fingers_crossed handler with monolog ? If yes, switch to stream. That's fingers_crossed expected behavior. It stores log entries in memory until event of action_level occurs. Dependencies of this bundle can have some troubles :( (But I can't do nothing, and if it's the case, downgrade or freeze impacted dependency) It's your fault :) Dig in you own code. How bench about memory leaks ?
app/console gos:websocket:server --profile --env=prod or bin/console gos:websocket:server --profile --env=prod
And trigger all the things.
Source
https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/master/README.md
All versions of kijho-chat with dependencies
symfony/symfony Version ~2.8|^3.0
doctrine/orm Version ^2.4.8
doctrine/doctrine-bundle Version ~1.4
symfony/swiftmailer-bundle Version ~2.3
symfony/assetic-bundle Version ~2.3
gos/web-socket-bundle Version ^1.6