amritgc / userengage-php
Installs: 11 077
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Requires
- php: >=5.6
- guzzlehttp/guzzle: ^6.2
This package is not auto-updated.
Last update: 2024-11-21 18:10:55 UTC
README
Usage
$userEngage = new \Gc\UserEngage\UserEngage('API_KEY');
Create User
$userEngage->user()->create([ "first_name": "Amrit", "last_name": "G.C" "email": "myemail@example.org", ]);
Find User Detail
$userEngage->user()->findByEmail('mytestemail@gmail.com'); $userEngage->user()->findByKey('7Q2VclcuKp7o'); $userEngage->user()->findById('123'); $userEngage->user()->findByPhoneNumber('9847463745');
Delete User Detail
$userEngage->user()->delete($userId);