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 1mo ago

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 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

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

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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