PHPackages                             amy/nytimes-apis - 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. amy/nytimes-apis

ActiveLibrary[API Development](/categories/api)

amy/nytimes-apis
================

NYTimes API PHP Wrapper

493PHP

Since Dec 16Pushed 11y agoCompare

[ Source](https://github.com/amy/NYTimes-APIs)[ Packagist](https://packagist.org/packages/amy/nytimes-apis)[ RSS](/packages/amy-nytimes-apis/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

NYTimes-APIs
============

[](#nytimes-apis)

\##PHP wrapper for NYTimes APIs.

\####Are you a PHP dev? Try out these php bindings for the NYTimes API.

Use the Composer dependency manager to easily include these bindings into your project. In the composer.json file in your root directory add the following require entry:

```
"require" : {
    "amy/nytimes-apis": "dev-master",
    "eloquent/enumeration": "dev-master",
    "nategood/httpful": "*"
}

```

Then run:

```
composer install
composer update

```

### NYTimes APIs Currently Supported

[](#nytimes-apis-currently-supported)

- Article Search API

\###Documentation (More thorough documentation to come!) Creating request response objects are now super easy for PHP devs! Here's an example use for the Article Search API:

```
$query = new ArticleSearchQuery('test');

$query
    ->page(1)
    ->sort(SortField::NEWEST());

$request = new ArticleSearchRequest(
    $query,
    ArticleSearchResponseFormat::JSON(),
    'your key'
);

$json = $request->query();

```

### Authors and Contributors

[](#authors-and-contributors)

Amy Chen (@amy)

### Contact

[](#contact)

Reach out to me at

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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/d75186762e804186a4d1428b93961aafeb703efb673c498958d252f83bbf969d?d=identicon)[amy](/maintainers/amy)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/amy-nytimes-apis/health.svg)

```
[![Health](https://phpackages.com/badges/amy-nytimes-apis/health.svg)](https://phpackages.com/packages/amy-nytimes-apis)
```

###  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.9M271](/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)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M96](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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