Download the PHP package kijho/kijho-chat without Composer

On this page you can find all versions of the php package kijho/kijho-chat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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 alt tag Screenshot client panel: local.loc/app_dev.php/chat/client alt tag

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

PHP Build Version
Package Version
Requires php Version >=5.4
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
symfony/symfony Version ~2.8|^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kijho/kijho-chat contains the following files

Loading the files please wait ....