Download the PHP package genai/google-form without Composer
On this page you can find all versions of the php package genai/google-form. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download genai/google-form
More information about genai/google-form
Files in genai/google-form
Download genai/google-form
More information about genai/google-form
Files in genai/google-form
Vendor genai
Package google-form
Short Description Submit data to a Google Form from the server: POST to the form's formResponse endpoint, mapping your fields to entry.NNN ids. Best-effort with a short timeout so it never blocks the request (it returns false rather than throwing). curl with a stream fallback. PHP 5.3-safe.
License Apache-2.0
Package google-form
Short Description Submit data to a Google Form from the server: POST to the form's formResponse endpoint, mapping your fields to entry.NNN ids. Best-effort with a short timeout so it never blocks the request (it returns false rather than throwing). curl with a stream fallback. PHP 5.3-safe.
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package google-form
genai/google-form
Submit data to a Google Form from the server — no front-end JS, no Apps Script.
POSTs to the form's formResponse endpoint with your fields mapped to entry.NNN ids.
Use
submitRaw(array('entry.111111111' => 'Linh')) bypasses the map. Array values
(checkboxes) are sent as repeated keys.
Get the ids
- formId: the
.../forms/d/e/<formId>/viewformsegment. - entry ids: Form → ⋮ → Get pre-filled link → fill samples → copy; the URL
has
entry.NNN=...per field.
Config + wiring
GoogleFormProperty auto-registers (the package declares extra.genai.scan); the
field map is form-specific, so it lives in the app's bean.
Behaviour & caveats
- Best-effort: short timeout (default 5s), and it returns
false(never throws) on a network error or an unsetform_id— so a failed submit won't break the action that called it (e.g. registration still succeeds). - Success isn't strictly verifiable: Google returns 200 even when it silently
rejects a submission (missing required field), so
truemeans "sent". Map every required field and confirm once in the form's Responses tab. - The form must be public (no login / not "limit to 1 response").
- It blocks for up to the timeout; lower it, or move the call to a shutdown hook, if you don't want registration to wait.
All versions of google-form with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package genai/google-form contains the following files
Loading the files please wait ...