koosh / mailigen
Wrapper for Mailigen SDK
Installs: 1 031
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: ^7.0
README
- Extremely simple wrapper to keep Mailigen SDK code out of your project source.
- Additional bonus: throws MailigenException when there is an error.
Usage
Instead of new \MGAPI( ... )
call new \Mailigen\ApiClient( ... )
$api = new \Mailigen\ApiClient('your-api-key'); try { $api->someMethod($args); } catch (\Mailigen\MailigenException $e) { var_dump($e); }