PHPackages                             neverstale/api - 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. neverstale/api

ActiveLibrary[API Development](/categories/api)

neverstale/api
==============

PHP wrapper for the Neverstale API

0185PHP

Since Oct 15Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/neverstale/php-api)[ Packagist](https://packagist.org/packages/neverstale/api)[ RSS](/packages/neverstale-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Neverstale PHP API wrapper
==========================

[](#neverstale-php-api-wrapper)

Wraps the [Neverstale API](http://docs.neverstale.io/api) for use in PHP applications.

Classes
-------

[](#classes)

### [Client](./src/Client.php)

[](#client)

The main class for interacting with the Neverstale API. Uses Guzzle to make HTTP requests.

#### Methods

[](#methods)

Mutating methods return a `TransactionResult` model. Non-mutating methods return a model representing the response from the API, or a simple boolean in the case of `health()`.

- `health(): bool` - Pings the Neverstale API to check if it is available and the API key is valid.
- `ingest(array $data, array $callbackConfig = []): TransactionResult` - Ingests content to Neverstale.
- `batchDelete(array $ids): TransactionResult` - Deletes content from Neverstale by content ID or custom ID.
- `retrieve(string $id): Content` - Retrieves content from Neverstale by content ID or custom ID.
- `ignoreFlag(string $flagId): TransactionResult` - Ignores a flag in Neverstale.
- `rescheduleFlag(string $flagId, DateTime $expiredAt): TransactionResult` - Reschedules a flag in Neverstale.

### [Analysis Status](./src/enums/AnalysisStatus.php)

[](#analysis-status)

Represents the status of content analysis in Neverstale

#### Cases:

[](#cases)

- `UNSENT`
- `STALE`
- `PENDING_INITIAL_ANALYSIS`
- `PENDING_REANALYSIS`
- `PENDING_TOKEN_AVAILABILITY`
- `PROCESSING_REANALYSIS`
- `PROCESSING_INITIAL_ANALYSIS`
- `ANALYZED_CLEAN`
- `ANALYZED_FLAGGED`
- `ANALYZED_ERROR`
- `UNKNOWN`
- `API_ERROR`

#### Methods:

[](#methods-1)

- `label(): string` - Returns the human readable English language label for the status.

### Models

[](#models)

- `[TransactionResult](./src/models/TransactionResult.php)` Represents the result of a transaction with Neverstale.
- `[Content](./src/models/Content.php)` Represents content in Neverstale. [See the docs](https://docs.neverstale.io/api/content.html) for more details
- `[Flag](./src/models/Flag.php)` Represents a flag in Neverstale. [See the docs](https://docs.neverstale.io/api/flags.html) for more details

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance42

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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/1ffae66f8a3c9ea283079e6e74e520b39fd68a00dab4485aee819a69c0f3fa25?d=identicon)[jesseschutt](/maintainers/jesseschutt)

---

Top Contributors

[![jesseschutt](https://avatars.githubusercontent.com/u/353047?v=4)](https://github.com/jesseschutt "jesseschutt (4 commits)")[![tomdavies](https://avatars.githubusercontent.com/u/136308?v=4)](https://github.com/tomdavies "tomdavies (2 commits)")

### Embed Badge

![Health badge](/badges/neverstale-api/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k14](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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