1. Go to this page and download the library: Download jobbrander/jobs-govt library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jobbrander / jobs-govt example snippets
// Add parameters to the query via the constructor
$query = new JobApis\Jobs\Client\Queries\GovtQuery([
'hl' => '1'
]);
// Add parameters via the set() method
$query->set('query', 'engineering');
// Add parameters via the set() method
$query->set('size', '100')
->set('from', '200');
// Instantiating provider with a query object
$client = new JobApis\Jobs\Client\Provider\GovtProvider($query);
// Get a Collection of Jobs
$jobs = $client->getJobs();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.