PHPackages                             summerofhaze/hubtraffic-api - 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. summerofhaze/hubtraffic-api

ActiveLibrary[API Development](/categories/api)

summerofhaze/hubtraffic-api
===========================

Get video information from servers like redtube.com, pornhub.com and youporn.com

1.1.1(8y ago)111MITPHPPHP &gt;=5.6.1

Since Apr 1Pushed 6y agoCompare

[ Source](https://github.com/SummerOfHaze/hubtraffic-api)[ Packagist](https://packagist.org/packages/summerofhaze/hubtraffic-api)[ RSS](/packages/summerofhaze-hubtraffic-api/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (6)Used By (0)

HubtrafficApi
=============

[](#hubtrafficapi)

Get video information by url

```
$api = new \HubtrafficApi\Api;
$video = $api->getVideoByUrl('http://www.pornhub.com/view_video.php?viewkey=ph57c67facc4ab2');
```

Or by source and id

```
$api = new \HubtrafficApi\Api;
$details = $api->parseSourceAndId('http://www.pornhub.com/view_video.php?viewkey=ph57c67facc4ab2');
$video = $this->getVideo($details['source'], $details['id']);
```

Check if video is active

```
$video; // some video
$api = new \HubtrafficApi\Api;
if (!$this->isVideoActive($video->source, $video->sourceId)) {
	// delete
}
```

Supported servers: redtube.com, pornhub.com, youporn.com, tube8.com, spankwire.com

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~112 days

Total

5

Last Release

2929d ago

### Community

Maintainers

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

---

Top Contributors

[![SummerOfHaze](https://avatars.githubusercontent.com/u/25121348?v=4)](https://github.com/SummerOfHaze "SummerOfHaze (4 commits)")[![pavelplzak](https://avatars.githubusercontent.com/u/414216?v=4)](https://github.com/pavelplzak "pavelplzak (3 commits)")

---

Tags

redtubepornhubhubtrafficyouporn

### Embed Badge

![Health badge](/badges/summerofhaze-hubtraffic-api/health.svg)

```
[![Health](https://phpackages.com/badges/summerofhaze-hubtraffic-api/health.svg)](https://phpackages.com/packages/summerofhaze-hubtraffic-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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