PHPackages                             mattyrad/noun-project-php-client - 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. mattyrad/noun-project-php-client

AbandonedArchivedLibrary[API Development](/categories/api)

mattyrad/noun-project-php-client
================================

A PHP client to interface with The Noun Project

1.0.1(7y ago)485MITPHPPHP &gt;=7.1

Since Apr 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/MattyRad/noun-project-php-client)[ Packagist](https://packagist.org/packages/mattyrad/noun-project-php-client)[ Docs](https://github.com/MattyRad/noun-project-php-client)[ RSS](/packages/mattyrad-noun-project-php-client/feed)WikiDiscussions master Synced 1mo ago

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

The Noun Project PHP Client
===========================

[](#the-noun-project-php-client)

[![Build Status](https://camo.githubusercontent.com/cf6d4fd8aacf13576c9c967d0846baa852fbac78acb23dcb828b609fa8955b66/68747470733a2f2f6170692e7472617669732d63692e6f72672f4d617474795261642f6e6f756e2d70726f6a6563742d7068702d636c69656e742e706e673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/cf6d4fd8aacf13576c9c967d0846baa852fbac78acb23dcb828b609fa8955b66/68747470733a2f2f6170692e7472617669732d63692e6f72672f4d617474795261642f6e6f756e2d70726f6a6563742d7068702d636c69656e742e706e673f6272616e63683d6d6173746572) [![Code Coverage](https://camo.githubusercontent.com/51165fe6c44cac796ab1aa5fb22425660517e71f6aef100f2f91b906155dabd9/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6d617474797261642f6e6f756e2d70726f6a6563742d7068702d636c69656e742e737667)](https://camo.githubusercontent.com/51165fe6c44cac796ab1aa5fb22425660517e71f6aef100f2f91b906155dabd9/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6d617474797261642f6e6f756e2d70726f6a6563742d7068702d636c69656e742e737667)

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

[](#installation)

`composer require mattyrad/noun-project-php-client`

Usage
-----

[](#usage)

Pass a `NounProject\Request` to the `NounProject\Client` to receive data from the API. You will receive a `MattyRad\Support\Result` back.

### Example

[](#example)

```
use MattyRad\NounProject;

$api = new NounProject\Client($key = 'abc123', $secret= 'xxxx');

$result = $api->send(new NounProject\Request\Icons($term = 'feather', $public_domain = true));

if (! $result->isSuccess()) {
    throw new \Exception($result->getReason());
}

$icons = $result->getIcons();
```

### API and Requests Types

[](#api-and-requests-types)

#### Collection

[](#collection)

###### Returns a single collection (by collection id or slug)

[](#returns-a-single-collection-by-collection-id-or-slug)

```
$result = $api->send(new NounProject\Request\Collection($collection_id_or_slug = 123));

$collection = $result->getCollection();
```

###### Returns a list of icons associated with a collection (by collection id or slug)

[](#returns-a-list-of-icons-associated-with-a-collection-by-collection-id-or-slug)

```
$result = $api->send(new NounProject\Request\IconsInCollection(
    $collection_id_or_slug = 123,
    $offset = 1,
    $page = 2,
    $limit = 3
));

$icons = $result->getIcons();
```

#### Collections

[](#collections)

###### Return’s a list of all collections

[](#returns-a-list-of-all-collections)

```
$result = $api->send(new NounProject\Request\Collections($offset = 2, $page = 3, $limit = 1000));

$collections = $result->getCollections();
```

#### Icon

[](#icon)

###### Returns a single icon

[](#returns-a-single-icon)

```
$result = $api->send(new NounProject\Request\Icon($icon_id_or_term = 123));

$icon = $result->getIcon();
```

#### Icons

[](#icons)

###### Returns a list of icons

[](#returns-a-list-of-icons)

```
$result = $api->send(new NounProject\Request\Icons(
    $icon_id_or_term = 'feather'
    $limit_to_public_domain = true;
    $offset = 2;
    $page = 3;
    $limit = 4;
));

$icon = $result->getIcons();
```

###### Returns list of most recently uploaded icons

[](#returns-list-of-most-recently-uploaded-icons)

```
$result = $api->send(new NounProject\Request\RecentIcons);

$icon = $result->getIcons();
```

#### Usage

[](#usage-1)

###### Returns current oauth usage and limits

[](#returns-current-oauth-usage-and-limits)

```
$result = $api->send(new NounProject\Request\Usage);

$usage = $result->getUsage();
$limits = $result->getLimits();
```

#### User

[](#user)

###### TODO

[](#todo)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~214 days

Total

2

Last Release

2728d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/754b009b104113d3b00daab6452c25805a12a335e2484d1dde41e0d2933672b7?d=identicon)[MattyRad](/maintainers/MattyRad)

---

Top Contributors

[![MattyRad](https://avatars.githubusercontent.com/u/1143595?v=4)](https://github.com/MattyRad "MattyRad (28 commits)")[![striebwj](https://avatars.githubusercontent.com/u/14165147?v=4)](https://github.com/striebwj "striebwj (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![Jimbolino](https://avatars.githubusercontent.com/u/5860587?v=4)](https://github.com/Jimbolino "Jimbolino (1 commits)")

---

Tags

iconsnoun-projectphpphp-client

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mattyrad-noun-project-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/mattyrad-noun-project-php-client/health.svg)](https://phpackages.com/packages/mattyrad-noun-project-php-client)
```

###  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)
