PHPackages                             thewulf7/yii2-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. [API Development](/categories/api)
4. /
5. thewulf7/yii2-wikipedia

ActiveLibrary[API Development](/categories/api)

thewulf7/yii2-wikipedia
=======================

Yii component to connect with Wikipedia

v1.0(10y ago)013PHPPHP &gt;=5.4.0

Since Mar 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/thewulf7/Yii2-Wikipedia)[ Packagist](https://packagist.org/packages/thewulf7/yii2-wikipedia)[ RSS](/packages/thewulf7-yii2-wikipedia/feed)WikiDiscussions master Synced 4w ago

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

Yii-Wikipedia
=============

[](#yii-wikipedia)

### Installation

[](#installation)

Begin by installing this package through Composer.

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

```
    'components' => [
        ...
        'wikipedia' => [
            'class' => 'thewulf7\Wikipedia\Connection'
        ]
        ...
    ]
```

### Usage

[](#usage)

**Retrieve page extract**

```
$wiki = \Yii::$app->get('wikipedia');

return $wiki->createCommand()->search('Rome')->getSentences(5);
```

**Same with QueryBuilder**

```
$query = new \thewulf7\Wikipedia\Query();

$query
    ->titles('Rome');

return $query
    ->createCommand()
    ->getSentences(5);
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

3762d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e28af5e47c51b76c74aac86e13679d9629c516c481f8ce8cb5e771a7324d14f0?d=identicon)[thewulf7](/maintainers/thewulf7)

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1143.6k1](/packages/skeeks-yii2-google-api)[apexwire/yii2-restclient

Tools to use API as ActiveRecord for Yii2

133.5k](/packages/apexwire-yii2-restclient)

PHPackages © 2026

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