PHPackages                             somms/phpkew - 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. somms/phpkew

ActiveLibrary[API Development](/categories/api)

somms/phpkew
============

PHP port of the pykew library from RGBKew for accessing Kew's data services

v0.9(2y ago)03MIT License (MIT)PHP

Since Nov 2Pushed 2y ago1 watchersCompare

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

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

phpKew
======

[](#phpkew)

Library for easy access to Kew's nomenclatural and taxonomic services. Hides the intricacies of using the HTTP API. This library provides the same functionality as the Python library [pykew](https://github.com/RBGKew/pykew), being just a translation to PHP.

Features
--------

[](#features)

- Perform the same tasks as the Python library pykew.
- Access and manipulate data from Kew's Python API using PHP.

Installation
------------

[](#installation)

To use this library, you need to have PHP installed on your system. You can then install the library using [Composer](https://getcomposer.org/).

1. Open a terminal and navigate to your project directory.
2. Run the following command to install the library:

    ```
    composer require somms/phpkew
    ```

    ```
3. Include the library in your PHP code:

    ```
    require_once 'vendor/autoload.php';
    ```
    ```

Usage
-----

[](#usage)

Here's an example of how to use the library with the POWO API:

```
// Include the library
require_once 'vendor/autoload.php';

use Somms\PHPKew\POWO\Enums\Characteristic;
use Somms\PHPKew\POWO\Enums\Filters;
use Somms\PHPKew\POWO\Enums\Geography;
use Somms\PHPKew\POWO\Enums\Name;
use Somms\PHPKew\POWO\POWOApi;

// Create a new instance of the pykew-php library
$powoApi = new POWOApi();

// Do a basic search
$result = $powoApi->search('Poa annua');

// $result extends ArrayIterator class

// Do an advanced search, filtering by several fields.
$query = [Name::GENUS => 'Poa', Name::SPECIES => 'annua', Name::AUTHOR => 'L.'];
$result = $powoApi->search($query);
```

IPNI and KPL are pretty similar. Enums of each API include available filters for each API.

License
-------

[](#license)

This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).

Project Status
--------------

[](#project-status)

This project is actively maintained and welcomes contributions from the community.

---

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

928d ago

### Community

Maintainers

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

---

Top Contributors

[![somms](https://avatars.githubusercontent.com/u/294539?v=4)](https://github.com/somms "somms (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/somms-phpkew/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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