PHPackages                             likey/wiqi - 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. likey/wiqi

ActiveLibrary[API Development](/categories/api)

likey/wiqi
==========

Wiqi - Wikipedia api Query Interface: Laravel 5 package to perform 'action=query' requests to the Wikipedia API with ease.

13.0k↓88.9%2[1 PRs](https://github.com/likeyapp/Wiqi/pulls)PHP

Since Mar 24Pushed 7y ago5 watchersCompare

[ Source](https://github.com/likeyapp/Wiqi)[ Packagist](https://packagist.org/packages/likey/wiqi)[ RSS](/packages/likey-wiqi/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Wiqi - (Wi)kipedia API (Q)uery (I)nterface
==========================================

[](#wiqi---wikipedia-api-query-interface)

### About

[](#about)

This project is a Wikipedia API Query Interface for Laravel 5. A simple interface for performing "action=query" requests to the Wikipedia API.

### Installation

[](#installation)

Add to your composer.json:

```
{
    "require": {
        "likey/wiqi": "dev-master"
    }
}
```

or from command line:

```
composer require likey/wiqi

```

Your /config/app.php Add the service provider:

```
    Likey\Wiqi\WiqiServiceProvider::class,
```

Example:

```
'providers' => [
    Likey\Wiqi\WiqiServiceProvider::class,
],
```

Add the facade:

```
    'Wiqi'      => Likey\Wiqi\Facades\Wiqi::class,
```

Example:

```
'aliases' => [
    'Wiqi'      => Likey\Wiqi\Facades\Wiqi::class,
]
```

### Usage

[](#usage)

##### May change since in-dev.

[](#may-change-since-in-dev)

#### get() - Return Array of Query Result:

[](#get---return-array-of-query-result)

```
$wiqiResults = Wiqi::query("like")->get();
print_r($wiqiResults);
```

#### count(int) - More Pages in Results:

[](#countint---more-pages-in-results)

```
$wiqiResults = Wiqi::query("like")->count(5)->get();
print_r($wiqiResults);
```

#### brief() - Add First Sentance and Image to Results:

[](#brief---add-first-sentance-and-image-to-results)

```
$wiqiResults = Wiqi::query("like")->brief()->count(5)->get();
print_r($wiqiResults);
```

### Example return:

[](#example-return)

```
[
{
"pageid": 567140,
"title": "Like",
"extract": "In the English language, the word like has a very flexible range of uses, ranging from conventional to non-standard."
},
{
"pageid": 1215338,
"title": "Like a Rolling Stone",
"extract": "\"Like a Rolling Stone\" is a 1965 song by the American singer-songwriter Bob Dylan.",
"image": "https://upload.wikimedia.org/wikipedia/en/1/1e/Bob_Dylan_-_Like_a_Rolling_Stone.jpg"
},
{
"pageid": 167924,
"title": "Like Mike",
"extract": "Like Mike is a 2002 American comedy film directed by John Schultz and written by Michael Elliot and Jordan Moffet.",
"image": "https://upload.wikimedia.org/wikipedia/en/e/ee/Like_Mike_poster.jpg"
},
{
"pageid": 28504903,
"title": "Like a G6",
"extract": "\"Like a G6\" is a 2010 song written and performed by Far East Movement, The Cataracs, and Dev, with the latter two being credited as featured artists.",
"image": "https://upload.wikimedia.org/wikipedia/en/5/59/Like_a_G6_single_cover.jpg"
},
{
"pageid": 9737001,
"title": "Like Sonny",
"extract": "Like Sonny is a compilation album combining two sessions from 1958 and 1960 with jazz musician John Coltrane.",
"image": "https://upload.wikimedia.org/wikipedia/en/f/fd/Like_Sonny.jpeg"
}
]
```

### License

[](#license)

Copyright 2015 Likey, LLC.

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/943d8e03a9b46dcd1b65f3592d3814629f28b649675f03ce9ea9d4151f0004ec?d=identicon)[KealJones](/maintainers/KealJones)

---

Top Contributors

[![KealJones](https://avatars.githubusercontent.com/u/1343175?v=4)](https://github.com/KealJones "KealJones (18 commits)")

### Embed Badge

![Health badge](/badges/likey-wiqi/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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