PHPackages                             ahmetson/codeigniter-ws-auth - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ahmetson/codeigniter-ws-auth

AbandonedArchivedCodeigniter-library[Authentication &amp; Authorization](/categories/authentication)

ahmetson/codeigniter-ws-auth
============================

Authentication system for CodeIgniter that works with WebSocket Server Ratchet-php

5.2.4(5y ago)049MITPHPPHP &gt;=5.6

Since Feb 18Pushed 5y agoCompare

[ Source](https://github.com/ahmetson/CodeIgniter-Ws-Auth)[ Packagist](https://packagist.org/packages/ahmetson/codeigniter-ws-auth)[ Docs](https://https://github.com/ahmetson/CodeIgniter-Ws-Auth)[ RSS](/packages/ahmetson-codeigniter-ws-auth/feed)WikiDiscussions 3 Synced 3w ago

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

CodeIgniter WebSockets Authorization
====================================

[](#codeigniter-websockets-authorization)

### Description

[](#description)

Authentication System for your WebSocket Servers written to support both [Ratchet PHP](https://github.com/ratchetphp/Ratchet) and CodeIgniter framework.

It's based on [Ion Auth 3](https://github.com/benedmunds/CodeIgniter-Ion-Auth). **Ws Auth** changed the underlying code, without affecting the interface, to able the simple and easy to use Auth Lib for Ratchet PHP.

Since, the command interface of **Ws Auth** is the same as API of **IoN Auth 3**, the documentation of IoN could be also used for Ws Auth library.

*NOTE! Ws Auth doesn't support native Sessions*

Server requirements
-------------------

[](#server-requirements)

**CodeIgniter 3** – a popular Framework

**Php 5.6**

**RatchetPHP** – a popular WebSocket library written on PHP

*Ws Auth* also could be used without RatchetPHP, but include symfony sessions as WebSocket dependency at composer.json.

Documentation
-------------

[](#documentation)

Documentation is located at [http://benedmunds.com/ion\_auth/](http://benedmunds.com/ion_auth/)

Installation
------------

[](#installation)

See [INSTALLING.md](INSTALLING.md) file.

Usage
-----

[](#usage)

In the package you will find example usage code in the controllers and views folders. The example code isn't the most beautiful code you'll ever see but it'll show you how to use the library and it's nice and generic so it doesn't require a MY\_controller or anything else.

### Default Login

[](#default-login)

Username: Password: password

### Important

[](#important)

It is highly recommended that you use encrypted database sessions for security!

Support
-------

[](#support)

If you think you've found a bug please [Create an Issue](https://github.com/ahmetson/CodeIgniter-Ws-Auth/issues).

If you need any help implementing Ws Auth into your project please [Email Me for Consulting Information](mailto:admin@blocklords.io).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 59.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~58 days

Total

11

Last Release

2116d ago

Major Versions

4.x-dev → 5.0.02019-12-29

3.x-dev → 5.1.32020-07-21

PHP version history (2 changes)4.0.0PHP &gt;=7.1

5.0.0PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6337467?v=4)[Medet Ahmetson](/maintainers/ahmetson)[@ahmetson](https://github.com/ahmetson)

---

Top Contributors

[![benedmunds](https://avatars.githubusercontent.com/u/156823?v=4)](https://github.com/benedmunds "benedmunds (769 commits)")[![avenirer](https://avatars.githubusercontent.com/u/3034772?v=4)](https://github.com/avenirer "avenirer (181 commits)")[![Indigo744](https://avatars.githubusercontent.com/u/7137528?v=4)](https://github.com/Indigo744 "Indigo744 (97 commits)")[![Militis](https://avatars.githubusercontent.com/u/687025?v=4)](https://github.com/Militis "Militis (27 commits)")[![ahmetson](https://avatars.githubusercontent.com/u/6337467?v=4)](https://github.com/ahmetson "ahmetson (25 commits)")[![daparky](https://avatars.githubusercontent.com/u/1004912?v=4)](https://github.com/daparky "daparky (18 commits)")[![michaelbrooks](https://avatars.githubusercontent.com/u/1330400?v=4)](https://github.com/michaelbrooks "michaelbrooks (16 commits)")[![tagawa](https://avatars.githubusercontent.com/u/94173?v=4)](https://github.com/tagawa "tagawa (12 commits)")[![Dentxinho](https://avatars.githubusercontent.com/u/1199765?v=4)](https://github.com/Dentxinho "Dentxinho (12 commits)")[![appleboy](https://avatars.githubusercontent.com/u/21979?v=4)](https://github.com/appleboy "appleboy (11 commits)")[![Tjoosten](https://avatars.githubusercontent.com/u/5157609?v=4)](https://github.com/Tjoosten "Tjoosten (11 commits)")[![jrmadsen67](https://avatars.githubusercontent.com/u/821958?v=4)](https://github.com/jrmadsen67 "jrmadsen67 (9 commits)")[![sepehr](https://avatars.githubusercontent.com/u/23576?v=4)](https://github.com/sepehr "sepehr (8 commits)")[![toton333](https://avatars.githubusercontent.com/u/7140284?v=4)](https://github.com/toton333 "toton333 (7 commits)")[![suhindra](https://avatars.githubusercontent.com/u/5556047?v=4)](https://github.com/suhindra "suhindra (7 commits)")[![adityamenon-exp](https://avatars.githubusercontent.com/u/18206894?v=4)](https://github.com/adityamenon-exp "adityamenon-exp (6 commits)")[![aphofstede](https://avatars.githubusercontent.com/u/701218?v=4)](https://github.com/aphofstede "aphofstede (6 commits)")[![bbosternak](https://avatars.githubusercontent.com/u/3586455?v=4)](https://github.com/bbosternak "bbosternak (6 commits)")[![cweric](https://avatars.githubusercontent.com/u/1013372?v=4)](https://github.com/cweric "cweric (6 commits)")[![DakuTree](https://avatars.githubusercontent.com/u/698800?v=4)](https://github.com/DakuTree "DakuTree (6 commits)")

### Embed Badge

![Health badge](/badges/ahmetson-codeigniter-ws-auth/health.svg)

```
[![Health](https://phpackages.com/badges/ahmetson-codeigniter-ws-auth/health.svg)](https://phpackages.com/packages/ahmetson-codeigniter-ws-auth)
```

###  Alternatives

[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)[lion/bundle

Lion-framework configuration and initialization package

122.3k4](/packages/lion-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
