mindgrub / mtip
PHP library to submit an MTIP application.
dev-master
2019-01-09 22:23 UTC
Requires
- php: >=5.4
- guzzlehttp/guzzle: ^6.3
- sunra/php-simple-html-dom-parser: ^1.5
Requires (Dev)
- phpunit/phpunit: 5.2.*
This package is auto-updated.
Last update: 2024-11-10 11:21:02 UTC
README
This library allows field data and submission of the MTIP application, found originally at https://careers2.umbc.edu/employers/mtip_app_response.php
Usage
// Create a new application. $application = \Mindgrub\MTIP\MTIPApplication(); // Examine fields on the application. $available_fields = $application->getFieldData(); // Set fields on the application. $application->setField('first_name', $my_first_name); // Submit the application. $application->submit();
Submission Response
$application->submit()
returns an array with 3 keys:
status
, either0
or1
depending on success.message
, describing the result of the submission.response
, a Guzzle Response Object received after making the submission, where applicable.