PHPackages                             decodelabs/prophet - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. decodelabs/prophet

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

decodelabs/prophet
==================

Stateless AI response orchestration

v0.6.2(2mo ago)04781MITPHPPHP ^8.4CI passing

Since Apr 25Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/decodelabs/prophet)[ Packagist](https://packagist.org/packages/decodelabs/prophet)[ RSS](/packages/decodelabs-prophet/feed)WikiDiscussions develop Synced yesterday

READMEChangelog (10)Dependencies (17)Versions (31)Used By (1)

Prophet
=======

[](#prophet)

[![PHP from Packagist](https://camo.githubusercontent.com/02070e731b91d2c6b3434e73fc93fc5f95680bf4e082307707965eb77c6506a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6465636f64656c6162732f70726f706865743f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/prophet)[![Latest Version](https://camo.githubusercontent.com/01e71fb8cf815a49da1d25fa4fd65a0badb14a26676e3f6618fcd0f644fac24d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465636f64656c6162732f70726f706865742e7376673f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/prophet)[![Total Downloads](https://camo.githubusercontent.com/ea69407e1e9f8cdb8afdbf2765e48299a572968c658d28bfc4cdc016a76b203e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6465636f64656c6162732f70726f706865742e7376673f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/prophet)[![GitHub Workflow Status](https://camo.githubusercontent.com/e3ddef3e7e4c647626091ec635ef6eaa7d01768c636ab0a45c5096a7d87e6298/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6465636f64656c6162732f70726f706865742f696e746567726174652e796d6c3f6272616e63683d646576656c6f70)](https://github.com/decodelabs/prophet/actions/workflows/integrate.yml)[![PHPStan](https://camo.githubusercontent.com/e25c14ce011edabdd0fbd2e10415b41cc5d66ed11ef3e5b7edd074c5bdd35a2d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d3434434331312e7376673f6c6f6e6743616368653d74727565267374796c653d666c6174)](https://github.com/phpstan/phpstan)[![License](https://camo.githubusercontent.com/771d23b783f8001dcc8338e8558cb462a4f002c1d42272fce14a84788c64fff7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6465636f64656c6162732f70726f706865743f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/prophet)

### Stateless AI response orchestration

[](#stateless-ai-response-orchestration)

Prophet provides a small contract for blueprint-driven AI generation. A blueprint defines instructions, medium, default model, and subject input. A platform executes one request and returns the result immediately.

---

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

[](#installation)

This package requires PHP 8.4 or higher.

Install via Composer:

```
composer require decodelabs/prophet
```

Usage
-----

[](#usage)

Core surfaces:

- `DecodeLabs\Prophet` for generator dispatch and direct response calls
- `DecodeLabs\Prophet\Blueprint` for instructions and subject input shaping
- `DecodeLabs\Prophet\Platform` for stateless provider adapters
- `DecodeLabs\Prophet\GenerationOptions` for runtime platform/model overrides
- `DecodeLabs\Prophet\GenerationResult` for normalized outputs
- `DecodeLabs\Prophet\ModelCatalog` for grouped provider/model option lists

OpenRouter support is available in the core package through `DecodeLabs\Prophet\Platform\OpenRouter`.

`ModelCatalog` can be used to build grouped select options and filter them down to whichever platforms are configured in the host app:

```
use DecodeLabs\Prophet\ModelCatalog;

$catalog = ModelCatalog::common()
    ->filterByPlatforms(['OpenAi', 'OpenRouter']);

$options = $catalog->toGroupedOptions();
```

Package-local docs and specs live under [docs/](./docs/README.md).

Licensing
---------

[](#licensing)

Prophet is licensed under the MIT License. See [LICENSE](./LICENSE) for the full license text.

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance89

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

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

Recently: every ~62 days

Total

29

Last Release

64d ago

PHP version history (2 changes)v0.1.0PHP ^8.1

v0.4.7PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a241d64d12b3b5ee94197862ec1ec30b82ed2efa34a0cd7f4c3565a021daddd?d=identicon)[betterthanclay](/maintainers/betterthanclay)

---

Top Contributors

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

---

Tags

aiassistantphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/decodelabs-prophet/health.svg)

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

###  Alternatives

[illuminate/support

The Illuminate Support package.

630113.0M41.3k](/packages/illuminate-support)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293952.6k33](/packages/craftcms-feed-me)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k18](/packages/solspace-craft-freeform)[pimcore/data-importer

Adds a comprehensive import functionality to Pimcore Datahub

46855.5k5](/packages/pimcore-data-importer)[japanese-date/japanese-date

日本の暦、祝日を取り扱うライブラリ

1610.0k](/packages/japanese-date-japanese-date)

PHPackages © 2026

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