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 1w 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

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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

1518d 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

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

184616.9k31](/packages/laudis-neo4j-php-client)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)

PHPackages © 2026

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