A wrapper round the contactform.me service
Switch branches/tags
Nothing to show
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
.gitignore
LICENSE
README.md
composer.json
phpunit.xml

README.md

ContactForm.me PHP Wrapper

A wrapper round the contactform.me service

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');