nsulistiyawan / motionmail
motionmail api wrapper for the lazy one
dev-master
2016-08-29 13:15 UTC
Requires
- php: >=5.3.0
- guzzlehttp/guzzle: ~5.3
This package is auto-updated.
Last update: 2025-02-16 23:08:49 UTC
README
Wrapper for MotionMail API
Installation
composer require nsulistiyawan/motionmail
Usage Example
<?php require_once __DIR__.'/vendor/autoload.php'; $motionmail = new Nsulistiyawan\MotionMail\MotionMail('YOUR-MOTIONMAIL-API-KEY','YOUR-MOTIONMAIL-SECRET-KEY'); echo $motionmail->generateDynamicDatetime(date('Y-m-dTH:i:s')); //example usage on html image, example template image http://s.mmgo.io/t/bPc //<img src="http://s.mmgo.io/t/bPc?endDateTimeToken=<?php echo $motionmail->generateDynamicDatetime(date('Y-m-dTH:i:s')); ?>"> <img>