PHPackages                             alanly/picnik - 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. alanly/picnik

ActiveLibrary[API Development](/categories/api)

alanly/picnik
=============

A modern, Composer and PSR-4 compatible PHP library for interfacing with the Wordnik API.

v0.1.5(11y ago)0797[3 issues](https://github.com/alanly/picnik/issues)MITPHPPHP &gt;=5.4

Since Dec 20Pushed 11y agoCompare

[ Source](https://github.com/alanly/picnik)[ Packagist](https://packagist.org/packages/alanly/picnik)[ Docs](https://github.com/alanly/picnik)[ RSS](/packages/alanly-picnik/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (8)Used By (0)

Picnik
======

[](#picnik)

[![](https://camo.githubusercontent.com/2cb411fcfd8134592531c21b7e097040f40d30ea92010d5cda4072ef1a6bb7c0/68747470733a2f2f6170692e7472617669732d63692e6f72672f616c616e6c792f7069636e696b2e737667)](https://travis-ci.org/alanly/picnik)

Picnik is a simple PHP client for the [Wordnik API](http://developer.wordnik.com/), that is Composer and PSR-4 compatible.

Its only dependencies are the GuzzleHttp client and PHP &gt;= 5.4.

API Coverage
------------

[](#api-coverage)

The initial goal is to support the `word` selection of methods.

Currently, the `/word.json/{word}` and `/word.json/{word}/definitions` API methods are implemented.

Usage
-----

[](#usage)

In order to use the client, you will first need to obtain an API key from [Wordnik](http://developer.wordnik.com/).

The client is pretty simple to use,

```
$client = new Picnik\Client;
$client->setApiKey('foobar');

$definitions = $client->wordDefinitions('cat')
                      ->limit(1)
                      ->includeRelated(false)
                      ->useCanonical(true)
                      ->get();

var_dump( count($definitions) );
// int(1)

var_dump( $definitions[0]->text )
// string(189) "A small carnivorous mammal (Felis catus or F. domesticus)
// domesticated since early times as a catcher of rats and mice and as a pet
// and existing in several distinctive breeds and varieties."
```

License
-------

[](#license)

This library is released under the MIT license. For details, you can refer to the [full license](LICENSE.md) document.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

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

Total

6

Last Release

4150d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7bb980c00406eb06cf45af6f209005e6a183c2dbaba0c63596e70fec7136edb6?d=identicon)[alanly](/maintainers/alanly)

---

Top Contributors

[![alanly](https://avatars.githubusercontent.com/u/1526057?v=4)](https://github.com/alanly "alanly (51 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alanly-picnik/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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