PHPackages                             gared/tor-directory-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. gared/tor-directory-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

gared/tor-directory-client
==========================

Client to request tor directory data

0.1(4y ago)18MITPHPPHP &gt;=7.4

Since Mar 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Gared/tor-directory-client)[ Packagist](https://packagist.org/packages/gared/tor-directory-client)[ RSS](/packages/gared-tor-directory-client/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

tor-directory-client
====================

[](#tor-directory-client)

Use this PHP library to request tor directory information

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

[](#installation)

Use composer

```
composer require gared/tor-directory-client
```

Getting started
---------------

[](#getting-started)

### Usage

[](#usage)

```
$client = new \Gared\TorDirectoryClient\Client();
$serverDescriptor = $client->getServerDescriptor('FINGERPRINTABC');

// get consensus data
$routerDescriptors = $client->getConsensus();

// get consensus data
$votes = $client->getAllVotes();
foreach ($votes as $vote) {
    foreach ($vote as $routerDescriptor) {
        echo $routerDescriptor->getFingerprint();
    }
}
```

Supported Platforms
-------------------

[](#supported-platforms)

- You need at least PHP 7.4

Supported Requests
------------------

[](#supported-requests)

APICode/tor/status-vote/current/consensus$client-&gt;getConsensus();/tor/status-vote/current/authority$client-&gt;getAllVotes();/tor/server/fp/%s$client-&gt;getServerDescriptor();

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1564d ago

### Community

Maintainers

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

---

Top Contributors

[![Gared](https://avatars.githubusercontent.com/u/913630?v=4)](https://github.com/Gared "Gared (5 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gared-tor-directory-client/health.svg)

```
[![Health](https://phpackages.com/badges/gared-tor-directory-client/health.svg)](https://phpackages.com/packages/gared-tor-directory-client)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[guzzlehttp/guzzle-services

Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.

25711.0M191](/packages/guzzlehttp-guzzle-services)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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