yoopies / braze-php
Braze API client built on top of Guzzle 6|7
0.0.1
2021-03-11 12:53 UTC
Requires
- php: >= 7.1
- ext-json: *
- guzzlehttp/guzzle: ~6.0|~7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: 4.0.*
This package is not auto-updated.
Last update: 2024-10-29 03:37:21 UTC
README
This is a non-official Braze PHP library which provides access to the Braze API from applications written in the PHP language.
Api references: https://www.braze.com/docs/api/
Installation
The recommended way to install braze-php is through Composer:
composer require yoopies/braze-php
Usage
use Braze\BrazeClient; $client = new BrazeClient('apiKey', 'rest.fra-01.braze.eu'); $client->user->track( [ 'events' => [ [ '_update_existing_only' => false, 'name' => 'my_event_name', 'external_id' => '1234', 'time' => (new \DateTime())->format('c'), ], ], ] );