Skip to content

Jev directory

TypeSafe SDK for PHP

PHP SDK for the TypeSafe AI API that asks typed questions about text or JSON and returns probabilities, labels, or rubric scores, reachable directly from TypeSafe or through OpenRouter.
Reading time
2 min
Published by
Community
Added
Nov 23, 2026

Highlights

  • Requires PHP 8.3 or newer and installs with composer require phox/typesafe-sdk-php.
  • One call switches between the TypeSafe and OpenRouter providers; answer bodies stay the same.
  • Supports noul yes/no questions, choice labels, and ordered rubric scores.
  • Auto-registers a Laravel Client singleton; config publishes with vendor:publish --tag=typesafe-config.
  • jev-latest works on both providers; OpenRouter also accepts ~typesafe/jev-latest and pinned builds.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai