PHPackages                             jpcaparas/randopedia - 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. jpcaparas/randopedia

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

jpcaparas/randopedia
====================

Fetch random articles from Wikipedia

1.0.1(2y ago)16MITPHPPHP ^8.1

Since Aug 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jpcaparas/randopedia)[ Packagist](https://packagist.org/packages/jpcaparas/randopedia)[ RSS](/packages/jpcaparas-randopedia/feed)WikiDiscussions main Synced today

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

Randopedia
==========

[](#randopedia)

Randopedia is a simple PHP library that fetches random articles from Wikipedia using their REST API.

Features
--------

[](#features)

- Fetch multiple random articles in parallel.
- Blacklist mechanism to avoid fetching articles based on specific keywords.
- Integration with Wikipedia's REST API.

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

[](#installation)

```
composer require jpcaparas/randopedia
```

Usage
-----

[](#usage)

```
use JPCaparas\Randopedia\Fetcher;

$fetcher = new Fetcher();
$articles = $fetcher->fetchRandomArticles(5, ['exclude_keyword1', 'exclude_keyword2']);
```

Tests
-----

[](#tests)

### Running Integration Tests

[](#running-integration-tests)

Integration tests will hit the live Wikipedia API. To run the integration tests:

```
vendor/bin/phpunit --testsuite Integration
```

Please note: Running integration tests frequently may hit rate limits.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

1047d ago

PHP version history (2 changes)1.0.0PHP ^7.4 || ^8.0

1.0.1PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2406808?v=4)[JP Caparas](/maintainers/jpcaparas)[@jpcaparas](https://github.com/jpcaparas)

---

Top Contributors

[![jpcaparas](https://avatars.githubusercontent.com/u/2406808?v=4)](https://github.com/jpcaparas "jpcaparas (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jpcaparas-randopedia/health.svg)

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

###  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)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

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

751291.4k40](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k120](/packages/oat-sa-tao-core)

PHPackages © 2026

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