cognesy/instructor-php

Unified LLM API, structured data outputs with LLMs, and agent SDK - in PHP

50
/ 100
Established

This is a comprehensive tool for PHP developers who want to integrate large language models (LLMs) into their applications. It helps transform messy LLM outputs into cleanly structured, type-hinted PHP objects, eliminating the need for manual parsing. Developers can use it to build robust, AI-powered features with simplified LLM interactions.

309 stars.

Use this if you are a PHP developer building applications that leverage LLMs and need a streamlined way to get structured data outputs, unify API calls to various LLM providers, and build sophisticated AI agents.

Not ideal if you are not a PHP developer or you do not plan to integrate LLMs into your software.

PHP development LLM integration AI application development data extraction agent development
No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 14 / 25

How are scores calculated?

Stars

309

Forks

24

Language

PHP

License

MIT

Last pushed

Mar 13, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/cognesy/instructor-php"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.