Feature · Language ports

Three languages, one contract

Prism has PHP, TypeScript and Python implementations of core and all eight companion package families, including Harness.

Shared conformance fixtures run through all three languages and compare their results.

  • PHP
  • TypeScript
  • Python

Capabilities

What it does

01

Same capabilities, same names

Both ports implement every capability the PHP reference has. Choose a language once and every docs example follows it.

02

One corpus, three languages

prism-parity owns shared conformance fixtures covering request construction, response parsing, value-object round trips, coded errors and JSON container identity.

03

A security corpus per family

Alongside the conformance fixtures, every package family has a security corpus.

04

Light runtimes

TypeScript runs on Node 20+ with native promises and strict types. Python runs on 3.10+ with zero runtime dependencies.

05

Agreement, stated precisely

Conformance results establish agreement for the tested cases. They do not imply complete provider coverage or identical framework integrations; each guide names language-specific APIs and unsupported operations.

How it fits

Where it sits in the ecosystem

PHP and Laravel are the reference. TypeScript and Python packages are configured independently of any framework, and each language installs from its own registry.

Install

Add it to your project

  1. 01

    particle-academy/prism PHP

  2. 02

    @particle-academy/prism TypeScript

  3. 03

    prism-ai-core Python

The packages

On the registries

PHP · Packagist

particle-academy/prism

TypeScript · npm

@particle-academy/prism

Python · PyPI

prism-ai-core