Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (28 sloc) 901 Bytes


A PHP framework for the Sauce Labs REST API


Use Packagist. The package name is Sauce/Sausage An example composer.json would look like:

    "require": {
        "Sauce/Sausage": ">=0.1.0"



$s = new Sauce\Sausage\Sausage('myusername', 'myapikey');

$my_details = $s->getAccountDetails();

$most_recent_test = $s->getJobs(0)['jobs'][0];
$s->updateJob($most_recent_test['id'], array('passed' => true));

$browser_list = $s->getAllBrowsers();
foreach ($browser_list as $browser)
    echo "${browser['long_name']} ${browser['short_version']}

See Sauce/Sausage/API.php for the list of Sauce API functions (currently boasting 100% support). Also check out test.php for other examples.


Send in all the pull requests!

Jump to Line
Something went wrong with that request. Please try again.