PHPackages                             ekendra/wikipedia - 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. ekendra/wikipedia

ActiveLibrary

ekendra/wikipedia
=================

Laravel package to query Wikipedia

2.0(5y ago)133PHPPHP &gt;=8.0

Since Aug 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/asis-parajuli/Laravel-Wikipedia)[ Packagist](https://packagist.org/packages/ekendra/wikipedia)[ RSS](/packages/ekendra-wikipedia/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Wikipedia
=========

[](#wikipedia)

### Installation

[](#installation)

Begin by installing this package through Composer.

```
{
    "require": {
        "ekendra/wikipedia": "dev-master"
    }
}
```

### Usage

[](#usage)

**Retrieve page extract**

```
$wikipedia = new \Ekendra\Wikipedia\Wikipedia;

return $wikipedia->search("Rome")->getSentences(5);
```

**Same with QueryBuilder**

```
$qb = new \Ekendra\Wikipedia\QueryBuilder;

$qb->setFormat("php");
$qb->setTitles("Nepal");
$qb->setExtractsSentences(3);
$qb->setExtractsPlainText(true);

$response = unserialize( $qb->fetch() );

$page = reset( $response["query"]["pages"] );

return $page["extract"];
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

2

Last Release

1984d ago

Major Versions

1.0 → 2.02020-12-10

PHP version history (2 changes)1.0PHP &gt;=7.0.0

2.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ac3eef2d3e92c6dd6b26fbec170abc6afc31454e78956b226d25115bb9d6cd5?d=identicon)[asis-parajuli](/maintainers/asis-parajuli)

---

Top Contributors

[![asis-parajuli](https://avatars.githubusercontent.com/u/60426026?v=4)](https://github.com/asis-parajuli "asis-parajuli (8 commits)")

### Embed Badge

![Health badge](/badges/ekendra-wikipedia/health.svg)

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

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[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)
