Skip to content

SDK

poli-page/laravel wraps the Poli Page PHP SDK, poli-page/sdk. The PoliPage\PoliPage client you inject, and its render and documents properties, are the SDK’s own objects, so the SDK’s documentation covers every method and type they have.

→ PHP SDK documentation: https://poli-page.github.io/sdk-php/

The package requires poli-page/sdk ^0.15.0, the same major.minor as the package itself: both share the major.minor of the Poli Page API.

| poli-page/laravel | poli-page/sdk | Laravel | PHP | | --- | --- | --- | --- | | 0.15.x | 0.15.x | 12.x or 13.x | 8.3, 8.4 or 8.5 | | 0.13.x | 0.13.x | 12.x or 13.x | 8.3, 8.4 or 8.5 |

  • Render input, render methods and stored documents: the SDK’s Quick start and Render modes pages.
  • PSR-18 clients, factories and a mock client: the SDK’s PSR-18 page.
  • Retries, timeouts and cancellation: the SDK’s Retries and idempotency page.
  • Every error code: the SDK’s Errors page.