netsells / contactformme
0.1
2016-06-14 09:23 UTC
Requires
- guzzlehttp/guzzle: ~5.3|~6.0
Requires (Dev)
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2024-08-28 13:37:04 UTC
README
contactform.me服务的包装器
它由Netsells团队创建和维护
用法
$postman = new Netsells\ContactFormMe\Postman('CFMEPOSTIDENTIFIERHERE'); $postman->deliver([ 'name' => 'Sam Jordan', 'email' => 'sam@netsells.co.uk', 'message' => 'Hello! This is a postman test.', ]);
您还可以在构造函数的第二个参数中指定表单名称。
$postman = new Netsells\ContactFormMe\Postman('CFMEPOSTIDENTIFIERHERE', 'quote_form');