pragmarx/googleforms

Post Data to Google Forms Spreadsheets

v0.1.0 2015-06-27 16:11 UTC

This package is auto-updated.

Last update: 2024-12-21 20:41:24 UTC


README

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

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.