journify / journify-php
Journify PHP SDK
0.0.2
2025-04-17 17:03 UTC
Requires
- php: ^7.4 || ^8.0
- ext-json: *
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^0.7
- overtrue/phplint: ^3.0
- php-parallel-lint/php-parallel-lint: ^1.3
- phpunit/phpunit: ~9.5
- roave/security-advisories: dev-latest
- slevomat/coding-standard: ^7.0
- squizlabs/php_codesniffer: ^3.6
Suggests
- ext-curl: For using the curl HTTP client
- ext-zlib: For using compression
This package is auto-updated.
Last update: 2025-06-21 11:53:07 UTC
README
Installation
The package can be installed via composer.
composer require journify/journify-php
Documentation
The links bellow should provide all the documentation needed to make the best use of the library:
Usage
use Journify\Journify; Journify::init('WRITE_KEY'); Journify::track([ 'event' => 'add_to_cart', 'userId' => 'user123', 'properties' => [ 'currency' => 'USD', 'value' => 29.99, 'items' => [ [ 'item_id' => 'SKU12345', 'item_name' => 'T-shirt', 'price' => 29.99, 'quantity' => 1, ], ], ], ]);