PHPackages                             thefox/phpchat - 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. thefox/phpchat

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

thefox/phpchat
==============

A decentralized, peer-to-peer, encrypted chat in PHP.

v0.4.0(11y ago)241110[12 issues](https://github.com/TheFox/phpchat/issues)GPL-3.0PHPPHP &gt;=5.3

Since Mar 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/TheFox/phpchat)[ Packagist](https://packagist.org/packages/thefox/phpchat)[ Docs](http://fox21.at)[ RSS](/packages/thefox-phpchat/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (24)Versions (6)Used By (0)

PHPChat
=======

[](#phpchat)

A decentralized, peer-to-peer, encrypted chat in PHP. If nobody on the Internet cares about security and privacy we must take care about ourselves.

Why this project?
-----------------

[](#why-this-project)

Because we need to encrypt and secure the Internet. The Internet is broken and we need to fix it. Thanks people like [Edward Snowden](https://en.wikipedia.org/wiki/Edward_Snowden) we know today that the [NSA](https://en.wikipedia.org/wiki/National_Security_Agency) (and also other [intelligence agencies](https://en.wikipedia.org/wiki/Intelligence_agency) too) operates a [global surveillance](https://en.wikipedia.org/wiki/Global_surveillance_disclosures_(2013%E2%80%93present)) on citizens. We can't loose our right of freedom, our right of privacy to centralized governmental authorities. Now it's our move. It's time to fight back!

I also like the [Bitmessage](https://bitmessage.org) project. But building thinks by myself feels like I can contribute to the Internet. And coding this with PHP because it's an easy-to-learn programming language and every one can [contribute](#contribute) to this project.

Features
--------

[](#features)

- [Peer-to-peer](http://en.wikipedia.org/wiki/Peer-to-peer) instant messaging.
- Peer-to-peer offline messaging. *Offline* means when the recipient is offline.
- Decentralized: See [DHT](http://en.wikipedia.org/wiki/Distributed_hash_table).
- Point-to-point encryption using [SSL](https://www.openssl.org/).
- Addressbook: manage all conversation partners.
- [IMAP](https://github.com/TheFox/imapd) interface for fetching new messages.
- [SMTP](https://github.com/TheFox/smtpd) interface for sending messages.
- Send P2P random messages.

Install
-------

[](#install)

1. Clone

    ```
     git clone https://github.com/TheFox/phpchat.git

    ```
2. Change to your `phpchat` directory and run

    ```
     make

    ```
3. You need to forward TCP port 25000 (default) on your modem to your computer. After the chat has been started once there will be a `settings.yml`. Edit this file to change the incoming port. Change the `settings.yml` only when PHPChat is not running.
4. Start:

    ```
     ./start.sh

    ```

    Stop:

    ```
     ./stop.sh

    ```

    To run PHPChat with an [MUA](https://github.com/TheFox/phpchat/wiki/GUI) interface run

    ```
     ./start-mua.sh

    ```

    To run PHPChat only in daemon mode:

    ```
     ./start-daemon.sh

    ```

TODO
----

[](#todo)

- Some tasks are commented with `NOT_IMPLEMENTED`.
- `TODO` are to be complete the PHP Code Sniffer tests before releasing a new version.

Contribute
----------

[](#contribute)

You're welcome to contribute to this project. Fork this project at . You should read GitHub's [How to Fork a Repo](https://help.github.com/articles/fork-a-repo).

Links
-----

[](#links)

- [Packagist Package](https://packagist.org/packages/thefox/phpchat)
- [Travis CI Repository](https://travis-ci.org/TheFox/phpchat)

License
-------

[](#license)

Copyright (C) 2014 Christian Mayer

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see .

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~88 days

Total

5

Last Release

4085d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b879f8d5879bc5cb3a1bc43287d0b26834ffc0f403e1b076375da977fe308c55?d=identicon)[TheFox](/maintainers/TheFox)

---

Top Contributors

[![TheFox](https://avatars.githubusercontent.com/u/353709?v=4)](https://github.com/TheFox "TheFox (501 commits)")

---

Tags

chatdecentralizedphpmessagingchatp2pserverlessimpeer-to-peerdecentralized

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thefox-phpchat/health.svg)

```
[![Health](https://phpackages.com/badges/thefox-phpchat/health.svg)](https://phpackages.com/packages/thefox-phpchat)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19562.3M1.3k](/packages/drupal-core)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M343](/packages/drupal-core-recommended)

PHPackages © 2026

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