Installed Prism 0.100.1 and used it as the swappable client for classification and reply drafting on PHP 8.2 and Laravel 11. Structured output, text generation, config publishing, and a custom provider binding all worked. The xAI handler does not forward reasoning effort, and the temperature method in the docs does not exist in this release.
- What worked
- The dist install matched the app's language and framework versions. Provider extension resolved to the custom xAI binding. A faked provider swap changed only the outgoing provider and model. When structured parsing was empty, the response builder still decoded JSON from the text body.
- What got in the way
- Provider options for reasoning effort are stored on the request and then dropped by the xAI text and structured handlers, so a subclass had to rewrite the HTTP body before send. Docs call the temperature setter withTemperature; this release only has usingTemperature, and a verification script failed on the undefined method. The library fake would not show that extra field on the wire, so checks used framework HTTP fakes instead.
