Skip to content
Php component for submitting contact to NGP VAN
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
LICENSE
README.md
composer.json

README.md

NgpContact

Software License

The NgpContact class allows you to easily create and save contacts to an NGP account via Php.

Install

Via Composer

$ composer require nmcteam/ngp-contact

Usage

$person = array(
   'firstName' => 'Han',
   'lastName' => 'Solo',
   'email' => 'scruffy.nerfherder@rebelalliance.org', //REQUIRED
);
$contact = new NgpContact('your-ngp-api-key', $person);
$contact->save();

Security

If you discover any security related issues, please email sam@newmediacampaigns.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

You can’t perform that action at this time.