{"repo":"klaviyo/klaviyo-api-php","free":true,"listed":false,"github":"https://github.com/klaviyo/klaviyo-api-php","clone":"git clone https://github.com/klaviyo/klaviyo-api-php.git","description":"PHP SDK for Klaviyo API","language":"PHP","stars":67,"topics":["bigcommerce","ecommerce","email","klaviyo","magento","notifications","prestashop","push","sfcc","shopify"],"license":"MIT","category":"ecommerce","readme_excerpt":"Klaviyo PHP SDK - SDK version: 20.0.0 - API Revision: 2026-07-15 Helpful Resources - API Reference - API Guides - Postman Workspace Design & Approach This SDK is a thin wrapper around our API. See our API Reference for full documentation on behavior. This SDK mirrors the organization and naming convention of the above language-agnostic resources, with a few namespace changes to conform to PHP idioms (details in Appendix). Organization This SDK is organized into the following resources: - Accounts - Campaigns - Catalogs - Client - Conversations - Coupons - CustomObjects - DataPrivacy - Events - Flows - Forms - Images - Lists - Metrics - Profiles - Reporting - Reviews - Segments - Tags - Templates - TrackingSettings - WebFeeds - Webhooks Requirements PHP 8.1 and later. Installation You can install this package using our Packagist package: Usage Example Note : The following examples use named arguments, which were introduced in PHP 8. If using an older version of PHP, you may need to explicitly pass omitted positional arguments. For example, if a given function has the following optional parameters someFunction($a=1, $b=2, $c=3) , and you wish to only set $b , you must pass in someFunction($a=null, $b=$YOUR VALUE) . Use Case Examples How to use filtering, sorting, and spare fieldset JSON API features Use Case : Get events associated with a specific metric, then return just the event properties sorted by oldest to newest datetime. NOTE: the filter param values need to be url-enco","default_branch":null,"files":null,"tree":[],"storefront":"/r/klaviyo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/klaviyo/klaviyo-api-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}