Repository navigation
Releases: byjg/php-llm-api-objects
Releases · byjg/php-llm-api-objects
Release list
Release 6.0.0
Initial implementation of byjg/llm-api-objects
Strongly-typed PHP objects for building LLM API request payloads, compatible with OpenAI and Ollama (/v1 endpoint).
- Chat, Model, Message objects with toApi() serialization
- Full tools/function-calling support: Tool, ToolFunction, ToolParameter, ToolChoice
- Multi-turn tool conversations with role=tool and toolCallId
- All message roles: user, assistant, system, developer, tool
- Null content support for assistant messages with tool_calls
- Ollama model parameters via ModelFileParameters enum
- Jira XML/RSS importers for seeding conversation context
- PHPUnit test suite (40 tests) and Psalm static analysis
- GitHub Actions CI workflow
- Docusaurus documentation