2017 © Pedro Peláez
 

library amplitude-php

Amplitude SDK for PHP - Use Amplitude in your PHP project

image

minube/amplitude-php

Amplitude SDK for PHP - Use Amplitude in your PHP project

  • Friday, April 27, 2018
  • by devaddiction
  • Repository
  • 8 Watchers
  • 7 Stars
  • 23,733 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

Amplitude PHP

How to use it

$apiKey = 123456;
$amplitudeClient = new \Amplitude\AmplitudeClient($apiKey);

$amplitudeEvent = new \Amplitude\AmplitudeEvent();

// For user properties
$amplitudeEvent->set('city_id', 123)
    ->set('country_id', 34);

// For event properties
$amplitudeEvent->addToEventProperties('revenue', 12.34);

$response = $amplitudeClient->track($amplitudeEvent);

The Versions

27/04 2018

dev-master

9999999-dev http://minube.com

Amplitude SDK for PHP - Use Amplitude in your PHP project

  Sources   Download

Apache-2.0

The Requires

 

sdk amplitude

27/04 2018

1.0

1.0.0.0 http://minube.com

Amplitude SDK for PHP - Use Amplitude in your PHP project

  Sources   Download

Apache-2.0

The Requires

 

sdk amplitude

08/08 2017

dev-Guzzle6

dev-Guzzle6 http://minube.com

Amplitude SDK for PHP - Use Amplitude in your PHP project

  Sources   Download

Apache-2.0

The Requires

 

sdk amplitude