PHPackages                             unrealircd/unrealircd-rpc - 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. [API Development](/categories/api)
4. /
5. unrealircd/unrealircd-rpc

ActiveLibrary[API Development](/categories/api)

unrealircd/unrealircd-rpc
=========================

JSON-RPC interface to UnrealIRCd

31.8k↓22.2%1PHP

Since Nov 28Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/unrealircd/unrealircd-rpc-php)[ Packagist](https://packagist.org/packages/unrealircd/unrealircd-rpc)[ RSS](/packages/unrealircd-unrealircd-rpc/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

UnrealIRCd RPC
==============

[](#unrealircd-rpc)

This allows PHP scripts to control [UnrealIRCd](https://www.unrealircd.org/)via the [JSON-RPC interface](https://www.unrealircd.org/docs/JSON-RPC).

This library is used by the [UnrealIRCd webpanel](https://github.com/unrealircd/unrealircd-webpanel/).

If you are interested in helping out or would like to discuss API capabilities, join us at `#unreal-webpanel` at `irc.unrealircd.org`(IRC with TLS on port 6697).

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

[](#installation)

```
composer require unrealircd/unrealircd-rpc:dev-main
```

UnrealIRCd setup
----------------

[](#unrealircd-setup)

UnrealIRCd 6.0.6 or later is needed and you need to enable [JSON-RPC](https://www.unrealircd.org/docs/JSON-RPC) in it. After doing that, be sure to rehash the IRCd.

Usage
-----

[](#usage)

For this example, create a file like `src/rpctest.php` with:

```
