PHPJobs.com RSS Client Released

2017-01-17

We now support PHPJobs.com’s RSS feed of job using the Jobs Common framework. With this client, you can quickly access the job search RSS feed on PHPJobs.com in your projects. Here’s an example of the library in action:

Usage

Install the package using Composer:

1
composer require jobapis/jobs-phpjobs

Then create a query object with all the parameters you’d like to use:

1
2
3
4
// Add parameters to the query via the constructor
$query = new JobApis\Jobs\Client\Queries\PhpjobsQuery([
'search_string' => 'zend'
]);

And inject the query object into the provider:

1
$client = new JobApis\Jobs\Client\Provider\CraigslistProvider($query);

Finally, call the “getJobs” method to retrieve results:

1
2
// Get a Collection of Jobs
$jobs = $client->getJobs();

Check out more examples or contribute to the project on Github.