PHPackages                             twisterarmy/twister - 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. twisterarmy/twister

ActiveLibrary[API Development](/categories/api)

twisterarmy/twister
===================

PHP 8 / Composer tools for twister P2P JSON-RPC API

1.3.0(1y ago)010[1 issues](https://github.com/twisterarmy/twister-php/issues)MITPHP

Since Dec 21Pushed 1y ago2 watchersCompare

[ Source](https://github.com/twisterarmy/twister-php)[ Packagist](https://packagist.org/packages/twisterarmy/twister)[ RSS](/packages/twisterarmy-twister/feed)WikiDiscussions main Synced yesterday

READMEChangelog (4)DependenciesVersions (5)Used By (0)

twister-php
===========

[](#twister-php)

PHP 8 / Composer tools for twister P2P JSON-RPC API

Install
-------

[](#install)

`composer require twisterarmy/twister`

Features
--------

[](#features)

### Client

[](#client)

Implements JSON-RPC API

```
$client = new \Twisterarmy\Twister\Client('http', 'localhost', 28332, 'user', 'pwd');

var_dump(
    $client->getPosts(
      [
        'twisterarmy'
      ]
    )
);
```

#### Methods

[](#methods)

See the `src/Client.php` source for more details!

- `importWallet`
- `getBlockHash`
- `getBlock`
- `getPosts`
- `getPostK`
- `follow`
- `unFollow`
- `getFollowing`
- `getDHTProfileRevisions`
- `getDHTAvatarRevisions`
- `putDHT`
- `createWalletUser`
- `sendNewUserTransaction`
- `newPostMessage`
- `newRetwistMessage`

### Tools

[](#tools)

#### Atom

[](#atom)

```
$array = \Twisterarmy\Twister\Tools\Atom::feed('url');
```

#### RSS

[](#rss)

```
$array = \Twisterarmy\Twister\Tools\Rss::feed('url');
```

###### Request

[](#request)

- `url` - feed address
- `format` - `{title} {link}` by default
    - `{nl}` - new line
    - `{title}` - item title
    - `{link}` - target link
- `length` - `256` by default
- `errors` - array of errors

###### Response

[](#response)

```
[
  time:    int,
  message: string
],
...
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance44

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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 ~162 days

Total

4

Last Release

438d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/108541346?v=4)[d47081](/maintainers/d47081)[@d47081](https://github.com/d47081)

---

Top Contributors

[![d47081](https://avatars.githubusercontent.com/u/108541346?v=4)](https://github.com/d47081 "d47081 (1 commits)")

---

Tags

apiatomcomposerjson-rpcrsstwistertwister-apitwister-api-phptwister-clienttwister-curltwister-p2ptwister-phptwister-php-clienttwister-rss

### Embed Badge

![Health badge](/badges/twisterarmy-twister/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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