netsells / contactformme
Installs: 16 543
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 2
Open Issues: 0
Requires
- guzzlehttp/guzzle: ~5.3|~6.0
Requires (Dev)
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2024-10-28 14:12:58 UTC
README
A wrapper round the contactform.me service
It is created and maintained by the Netsells team
Usage
$postman = new Netsells\ContactFormMe\Postman('CFMEPOSTIDENTIFIERHERE'); $postman->deliver([ 'name' => 'Sam Jordan', 'email' => 'sam@netsells.co.uk', 'message' => 'Hello! This is a postman test.', ]);
You can also specify the form name in the second argument of the constructor.
$postman = new Netsells\ContactFormMe\Postman('CFMEPOSTIDENTIFIERHERE', 'quote_form');