PHPackages                             stdimitrov/jockstream - 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. stdimitrov/jockstream

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

stdimitrov/jockstream
=====================

A PHP library for aggregating random science, tech, and programming jokes from multiple APIs. Provides a unified interface for fetching jokes from various providers with support for logging API requests and handling errors gracefully.

v1.0.4(1y ago)19MITPHPPHP &gt;=8.3.0

Since Oct 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/stdimitrov05/JockStream)[ Packagist](https://packagist.org/packages/stdimitrov/jockstream)[ RSS](/packages/stdimitrov-jockstream/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Joke Aggregator Library
=======================

[](#joke-aggregator-library)

A PHP library/package for aggregating science, tech, and programming jokes from multiple joke APIs. This library allows developers to configure and retrieve random jokes from one or more APIs in a standardized format with integrated logging support.

Features
--------

[](#features)

- **Aggregate Jokes**: Retrieve jokes from multiple APIs in a unified, normalized format.
- **Configurable Providers**: Choose and configure one or more joke API providers from a list of available APIs.
- **PSR-3 Logging**: Log all API requests and responses using any PSR-3 compliant logger.
- **Fault Tolerance**: Handles API rate limits and errors gracefully, continuing to return jokes when possible.
- **PSR-12 Compliance**: Adheres to PHP best practices and PSR-12 standards.

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

[](#installation)

Install the library via Composer:

```
composer require stdimitrov/jockstream
```

Environment Configuration
-------------------------

[](#environment-configuration)

Create a `.env` file in the root directory of your project and configure it with the necessary environment variables for accessing the APIs and setting up the database. Below is an example `.env` configuration:

```
# Rapid
RAPID_API_KEY=your_token

# Database Configuration
DB_PORT=3306
DB_ADAPTER=Mysql
DB_HOST=localhost
DB_USERNAME=root
DB_PASSWORD=your_password
DB_NAME=jockstream
DB_CHARSET=utf8mb4
DB_COLLATION=utf8mb4_0900_ai_ci
```

Use the file that is in the db folder.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

4

Last Release

656d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/75424605?v=4)[st\_d05](/maintainers/stdimitrov05)[@stdimitrov05](https://github.com/stdimitrov05)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stdimitrov-jockstream/health.svg)

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

###  Alternatives

[azuracast/azuracast

The AzuraCast self-hosted web radio station management suite.

4.0k27.9k](/packages/azuracast-azuracast)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k55](/packages/neuron-core-neuron-ai)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k17.3k100](/packages/elgg-elgg)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[oat-sa/tao-core

TAO core extension

64147.9k151](/packages/oat-sa-tao-core)[infinum/eightshift-libs

WordPress libs developed by Eightshift team to use in modern WordPress.

63127.2k3](/packages/infinum-eightshift-libs)

PHPackages © 2026

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