PHPackages                             sonrac/wamp-server - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sonrac/wamp-server

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sonrac/wamp-server
==================

WAMP protocol implementation for laravel &amp; lumen

0.1.7(8y ago)3174[8 PRs](https://github.com/sonrac/laravel-wamp/pulls)MITPHP

Since Nov 6Pushed 3y ago2 watchersCompare

[ Source](https://github.com/sonrac/laravel-wamp)[ Packagist](https://packagist.org/packages/sonrac/wamp-server)[ RSS](/packages/sonrac-wamp-server/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (7)Versions (20)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/496a9eda1653336b8a02115cb090fc9c907db74fec7d357ef75d1eb87bab9a70/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6e7261632f6c61726176656c2d77616d702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sonrac/laravel-wamp/?branch=master)[![StyleCI](https://camo.githubusercontent.com/4c597fec7fcdbe6359ade5b99c7ee6aeaeae5dc0be9882982850a5ce3ddc19d9/68747470733a2f2f7374796c6563692e696f2f7265706f732f3130353332323837332f736869656c643f6272616e63683d6d6173746572267374796c653d666c6174)](https://styleci.io/repos/105322873)[![Code Coverage](https://camo.githubusercontent.com/e319047b20fe80f11f530acc6e4de571e3b95a11ab4510d4d7772c85ee74a877/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6e7261632f6c61726176656c2d77616d702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sonrac/laravel-wamp/?branch=master)[![Build Status](https://camo.githubusercontent.com/40eb49b8059a4db1b57d970650d0d14516587b70a30233471ddcf17bd68c8242/68747470733a2f2f7472617669732d63692e6f72672f736f6e7261632f6c61726176656c2d77616d702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sonrac/laravel-wamp)[![codecov](https://camo.githubusercontent.com/040c8c1948ad040e1323f1d4523d81d29169516fecd21c7d9f5d44e3f8da081b/68747470733a2f2f636f6465636f762e696f2f67682f736f6e7261632f6c61726176656c2d77616d702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/sonrac/laravel-wamp)[![VersionEYE](https://camo.githubusercontent.com/10c38aef6c9f0394f719974a78c97aa5488fddbecd01c4cc489c62b08cc8a43c/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3539663130633562313566306437316461366137613833322f62616467652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/10c38aef6c9f0394f719974a78c97aa5488fddbecd01c4cc489c62b08cc8a43c/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3539663130633562313566306437316461366137613833322f62616467652e7376673f7374796c653d666c61742d737175617265)[![License](https://camo.githubusercontent.com/d6b7e6a383e3cd6b69e8cd26ad9bb740a967db48dd9169dad9d92547d88ffbd1/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f77616d702d7365727665722f6c6963656e73652e737667)](https://github.com/sonrac/laravel-wamp/blob/master/LICENSE)[![Total Downloads](https://camo.githubusercontent.com/326fdb5cea6bcc0f75a32bb34b2b5df61e5b9762cb77f61cb35643aa5bca382f/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f77616d702d7365727665722f642f746f74616c)](https://packagist.org/packages/sonrac/wamp-server)[![Monthly Downloads](https://camo.githubusercontent.com/77b405a57f737fcf5c69e4af698f3ab8c86ed3464c57d47f9a78211d1e6caecb/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f77616d702d7365727665722f642f6d6f6e74686c79)](https://packagist.org/packages/sonrac/wamp-server)[![Daily Downloads](https://camo.githubusercontent.com/1fa3b1182a9db2b7fc4933e7dfe968086fae19701318c5d82a8362fcc3c119b8/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f77616d702d7365727665722f642f6461696c79)](https://packagist.org/packages/sonrac/wamp-server)[![composer.lock](https://camo.githubusercontent.com/223f33afe64f79b4825164a64e67b382b0a33d3f7ed36253912576127edfcc54/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f77616d702d7365727665722f636f6d706f7365726c6f636b)](https://packagist.org/packages/sonrac/wamp-server)[![Build Status](https://camo.githubusercontent.com/40eb49b8059a4db1b57d970650d0d14516587b70a30233471ddcf17bd68c8242/68747470733a2f2f7472617669732d63692e6f72672f736f6e7261632f6c61726176656c2d77616d702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sonrac/laravel-wamp)[![Dependency Status](https://camo.githubusercontent.com/10c38aef6c9f0394f719974a78c97aa5488fddbecd01c4cc489c62b08cc8a43c/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3539663130633562313566306437316461366137613833322f62616467652e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/user/projects/59f10c5b15f0d71da6a7a832)

[![SensioLabsInsight](https://camo.githubusercontent.com/915f6830e227837f1224b06b58ae2ebfcdd406697ba129c01619368e4cecef35/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37373965623338392d383237312d343639302d383435372d3839666534663337393738332f6269672e706e67)](https://insight.sensiolabs.com/projects/779eb389-8271-4690-8457-89fe4f379783)

[![pipeline status](https://camo.githubusercontent.com/b879356ab4536aea03f9f9ca085f9e3a92c728f056ca87fbe073424c82b1f228/68747470733a2f2f6769742e636f6e63692e696e666f2f636f6e63692f736572766963652f6c69622f77616d702d7365727665722f6261646765732f6d61737465722f706970656c696e652e737667)](https://git.conci.info/conci/service/lib/wamp-server/commits/master)[![coverage report](https://camo.githubusercontent.com/a87b61019b0f6fd1b6c9a13c2559e7b1b837466db6245b6f2e61329e86558b06/68747470733a2f2f6769742e636f6e63692e696e666f2f636f6e63692f736572766963652f6c69622f77616d702d7365727665722f6261646765732f6d61737465722f636f7665726167652e737667)](https://git.conci.info/conci/service/lib/wamp-server/commits/master)

Wamp server for lumen/laravel
=============================

[](#wamp-server-for-lumenlaravel)

In demelopment state yet

Install
-------

[](#install)

```
composer require sonrac/wamp-server
```

or add to your composer.json in section autoload

```
"sonrac/wamp-server": "0.1.*"

```

Register service provider:

```
\sonrac\WAMP\WAMPServiceProvider

```

Add console commands to you `Kernel.php`:

```
'\sonrac\WAMP\Commands\RunServer',
'\sonrac\WAMP\Commands\RegisterRoutes',

```

Add subscriber:
---------------

[](#add-subscriber)

```
app()->wampRouter->addSubscriber('com2.hello', function ($clientSession, $client) {
    return 123;
});
```

Add procedure:
--------------

[](#add-procedure)

```
app()->wampRouter->addRoute('com1.hello', function ($clientSession, $client) {
    return 123;
})
```

Start server:
-------------

[](#start-server)

Usage help for get options help

```
php artisan wamp:run-server
```

This command let start server with registering predefined routes with client

Register routes:
----------------

[](#register-routes)

Usage help for get options help

```
php artisan register-routes
```

Register service provider:

```
\sonrac\WAMP\WAMPServiceProvider

```

Add console commands to you `Kernel.php`:

```
'\sonrac\WAMP\Commands\RunServer',
'\sonrac\WAMP\Commands\RegisterRoutes',

```

Add subscriber:
---------------

[](#add-subscriber-1)

```
app()->wampRouter->addSubscriber('com2.hello', function ($clientSession, $client) {
    return 123;
});
```

Add procedure:
--------------

[](#add-procedure-1)

```
app()->wampRouter->addRoute('com1.hello', function ($clientSession, $client) {
    return 123;
})
```

Start server:
-------------

[](#start-server-1)

Usage help for get options help

```
php artisan wamp:run-server
```

This command let start server with registering predefined routes with client

Register routes:
----------------

[](#register-routes-1)

Usage help for get options help

```
php artisan register-routes
```

Run tests
---------

[](#run-tests)

Test running for laravel &amp; lumen both from script `run-tests.sh`

Run command:

```
sh run-tests.sh
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 98.6% 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 ~9 days

Total

7

Last Release

3053d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1245037f65b027a2c38d7aa0281cd04f53ac27eaf695a60da7311254fcc99350?d=identicon)[sonrac](/maintainers/sonrac)

---

Top Contributors

[![sonrac](https://avatars.githubusercontent.com/u/3766459?v=4)](https://github.com/sonrac "sonrac (71 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

WAMPlaravel wamplumen wamp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sonrac-wamp-server/health.svg)

```
[![Health](https://phpackages.com/badges/sonrac-wamp-server/health.svg)](https://phpackages.com/packages/sonrac-wamp-server)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[wnx/laravel-stats

Get insights about your Laravel Project

1.8k1.8M7](/packages/wnx-laravel-stats)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[pulkitjalan/ip-geolocation

IP Geolocation Wrapper with Laravel Support

89164.9k1](/packages/pulkitjalan-ip-geolocation)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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