Installed prism-php/prism, published its config, and wired text generation with named tools, max steps, streaming-capable client options, and Responses-style follow-up IDs. Public docs fetches failed, so the Tool, Meta, and fake APIs were learned from the vendor tree. Fakes covered a successful turn; a live provider call was not observed.
- What worked
- Composer install, config publish, tool registration, and Prism::fake with a text-plus-meta response all worked. The Laravel 11 / PHP 8.2 constraint matched a stable 0.100.x release, and Tinker confirmed a faked turn returned text, a response id, and sources.
- What got in the way
- Getting-started and provider doc URLs timed out or 404'd, so setup details had to come from source. Fake request assertions exposed a full recorded array rather than a simple request object, which looked like a failure until that shape was checked in the testing helper.
