PHPackages                             code-matic/opencdp-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. code-matic/opencdp-php

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

code-matic/opencdp-php
======================

PHP SDK for Codematic's Customer Data Platform (CDP) with optional Customer.io integration

v1.0.0(3mo ago)00MITPHPPHP ^8.0

Since Jan 31Pushed 3mo agoCompare

[ Source](https://github.com/code-matic/opencdp-php)[ Packagist](https://packagist.org/packages/code-matic/opencdp-php)[ Docs](https://docs.opencdp.io/)[ RSS](/packages/code-matic-opencdp-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Codematic OpenCDP PHP SDK
=========================

[](#codematic-opencdp-php-sdk)

A PHP client library for Codematic's Customer Data Platform (CDP) with optional Customer.io integration.

See the [CDP Documentation](https://docs.opencdp.io/) for more information.

Installation
------------

[](#installation)

```
composer require code-matic/opencdp-php
```

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Guzzle HTTP client (automatically installed)

### Optional Dependencies

[](#optional-dependencies)

- `customerio/customerio-php` - Required for dual-write functionality to Customer.io

```
composer require customerio/customerio-php
```

Features
--------

[](#features)

- Send customer identification and event data to Codematic CDP
- Send transactional emails (transactional messaging and raw HTML)
- Send SMS messages
- Send push notifications
- Optional dual-write capability to Customer.io
- Comprehensive error handling and logging
- Full type safety with PHP 8.0+ features

Quick Start
-----------

[](#quick-start)

```
