The NgpContact class allows you to easily create and save contacts to an NGP account via Php.
Via Composer
$ composer require nmcteam/ngp-contact
$person = array(
'firstName' => 'Han',
'lastName' => 'Solo',
'email' => 'scruffy.nerfherder@rebelalliance.org', //REQUIRED
);
$contact = new NgpContact('your-ngp-api-key', $person);
$contact->save();
If you discover any security related issues, please email sam@newmediacampaigns.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.