pragmarx / googleforms
Post Data to Google Forms Spreadsheets
v0.1.0
2015-06-27 16:11 UTC
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
This package is auto-updated.
Last update: 2024-10-21 20:16:01 UTC
README
Need to create a form and send data straight to a Google Forms Spreadsheet? This is your package!
Install
Via Composer
$ composer require pragmarx/googleforms
Usage
$googleform = new PragmaRX\GoogleForms\Client('12345lvDG6F4ISHQbT4duG2lwl6OAHY'); $data = [ 'entry.386548658' => Input::get('name'), 'entry.361290697' => Input::get('city'), 'entry.740093423' => Input::get('school'), 'entry.1928496279' => Input::get('email'), 'entry.494802185' => Input::get('phone'), ]; return [ 'success' => $googleForm->post($data) ];
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email acr@antoniocarlosribeiro.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.