PHPackages                             romainrg/ratchet\_client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. romainrg/ratchet\_client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

romainrg/ratchet\_client
========================

CodeIgniter library who allow you to make powerfull applications with realtime interactions by using Websocket technology

1.0.1(7y ago)396.6k↓33.3%23[11 issues](https://github.com/romainrg/ratchet_client/issues)GPL-3.0-or-laterPHPPHP &gt;=5.6.0

Since Oct 24Pushed 7y ago4 watchersCompare

[ Source](https://github.com/romainrg/ratchet_client)[ Packagist](https://packagist.org/packages/romainrg/ratchet_client)[ Docs](https://github.com/romainrg/ratchet_client)[ RSS](/packages/romainrg-ratchet-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

ratchet\_client (CodeIgniter)
=============================

[](#ratchet_client-codeigniter)

CodeIgniter library who allow you to make **powerfull applications** with realtime interactions by using Websocket technology and Ratchetphp ([Socketo.me](http://socketo.me)) 🚀🚀

📚 Dependencies
--------------

[](#books-dependencies)

- PHP 5.6+
- CodeIgniter Framework (3.1.8+ recommanded)
- Composer
- PHP Socket extension enabled

🔰 Installation
--------------

[](#beginner-installation)

### ➡️ Step 1 : Library installation by Composer

[](#arrow_right-step-1--library-installation-by-composer)

Just by running following command in the folder of your project :

```
composer require romainrg/ratchet_client
```

Or by adding following lines to your `composer.json` file :

```
"require": {
    "romainrg/ratchet_client": "^1.0.0"
},
```

Don't forget to include your autoload to CI config file :

```
$config['composer_autoload'] = FCPATH.'vendor/autoload.php';
```

### ➡️ Step 2 : Create library config file in your project (Optional)

[](#arrow_right-step-2--create-library-config-file-in-your-project-optional)

You have to create in your CI config folder located in `./application/config/ratchet_client.php` or the library will take his own config file based on host `0.0.0.0:8282`

```
