{"id":15008327,"url":"https://github.com/testingbot/testingbot-php","last_synced_at":"2026-03-06T13:04:42.389Z","repository":{"id":57067213,"uuid":"66638280","full_name":"testingbot/testingbot-php","owner":"testingbot","description":"PHP API Client to interact with TestingBot.com","archived":false,"fork":false,"pushed_at":"2024-11-06T19:06:22.000Z","size":41,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-20T05:13:47.674Z","etag":null,"topics":["api-client","php-webdriver","testingbot","webdriver"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/testingbot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.APACHE2","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-26T10:09:29.000Z","updated_at":"2023-06-30T12:15:56.000Z","dependencies_parsed_at":"2025-02-15T10:31:12.347Z","dependency_job_id":"01d0b71c-be83-49dd-889c-fa4e2fc61072","html_url":"https://github.com/testingbot/testingbot-php","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/testingbot/testingbot-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingbot%2Ftestingbot-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingbot%2Ftestingbot-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingbot%2Ftestingbot-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingbot%2Ftestingbot-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testingbot","download_url":"https://codeload.github.com/testingbot/testingbot-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingbot%2Ftestingbot-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30178286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T12:39:21.703Z","status":"ssl_error","status_checked_at":"2026-03-06T12:36:09.819Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","php-webdriver","testingbot","webdriver"],"created_at":"2024-09-24T19:17:39.255Z","updated_at":"2026-03-06T13:04:42.357Z","avatar_url":"https://github.com/testingbot.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Testingbot-PHP\n=======\n\nThis is the TestingBot PHP client which makes it easy to \ninteract with the [TestingBot API](https://testingbot.com/support/api)\n\nLicense\n-------\nTestingbot-PHP is available under the Apache 2 license. See `LICENSE.APACHE2` for more\ndetails.\n\nUsage\n----------\n\nTestingBot-PHP is distributed with Composer, which means you can include it in your project:\n\n`composer require testingbot/testingbot-php`\n\nor edit the `composer.json` file and add:\n\n```json\n{\n    \"require\": {\n        \"testingbot/testingbot-php\": \"\u003e=1.0.0\"\n    }\n}\n```\n\nTo start, create a new `TestingBot\\TestingBotAPI` object and pass in the key and secret you obtained from [TestingBot](https://testingbot.com/members/user/edit) \n\n```php\n$api = new TestingBot\\TestingBotAPI($key, $secret);\n```\n\nNow you can use the various methods we've made available to interact with the API:\n\n### getBrowsers\nGets a list of browsers you can test on\n\n```php\n$api-\u003egetBrowsers();\n```\n\n### getDevices\nGets a list of devices you can test on\n\n```php\n$api-\u003egetDevices();\n```\n\n### getAvailableDevices\nGets a list of available devices you can test on\n\n```php\n$api-\u003egetAvailableDevices();\n```\n\n### getDevice\nGets information for a specific device\n\n```php\n$api-\u003egetDevice($deviceID);\n```\n\n### getUserInfo\nGets your user information\n\n```php\n$api-\u003egetUserInfo();\n```\n\n### updateUserInfo\nUpdates your user information\n\n```php\n$api-\u003eupdateUserInfo(array('first_name' =\u003e 'test'));\n```\n\n### updateJob\nUpdates a Test with Meta-data to display on TestingBot.\nFor example, you can specify the test name and whether the test succeeded or failed:\n\n```php\n$api-\u003eupdateJob($webdriverSessionID, array('name' =\u003e 'mytest', 'success' =\u003e true));\n```\n\n### getJob\nGets meta information for a job (test) by passing in the WebDriver sessionID of the test you ran on TestingBot:\n\n```php\n$api-\u003egetJob($webdriverSessionID);\n```\n\n### getJobs\nGets a list of previous jobs/tests that you ran on TestingBot, order by last run:\n\n```php\n$api-\u003egetJobs(0, 10); // last 10 tests\n```\n\n### deleteJob\nDeletes a test from TestingBot\n\n```php\n$api-\u003edeleteJob($webdriverSessionID);\n```\n\n### stopJob\nStops a running test on TestingBot\n\n```php\n$api-\u003estopJob($webdriverSessionID);\n```\n\n### getBuilds\nGets a list of builds that you ran on TestingBot, order by last run:\n\n```php\n$api-\u003egetBuilds(0, 10); // last 10 builds\n```\n\n### getBuild\nGets a build from TestingBot (a group of tests)\n\n```php\n$api-\u003egetBuild($buildIdentifier);\n```\n\n### deleteBuild\nDeletes a build from TestingBot.\n\n```php\n$api-\u003edeleteBuild($buildIdentifier);\n```\n\n### getTunnels\nGets a list of active tunnels for your account.\n\n```php\n$api-\u003egetTunnels();\n```\n\n### deleteTunnel\nDeletes an active tunnel.\n\n```php\n$api-\u003edeleteTunnel($tunnelID);\n```\n\n### uploadLocalFileToStorage\nUploads a local file (.apk, .ipa, .zip) to TestingBot Storage.\n\n```php\n$api-\u003euploadLocalFileToStorage($pathToLocalFile);\n```\n\n### uploadRemoteFileToStorage\nUploads a remote file (.apk, .ipa, .zip) to TestingBot Storage.\n\n```php\n$api-\u003euploadRemoteFileToStorage($urlToRemoteFile);\n```\n\n### getStorageFile\nGets meta data from a file previously uploaded to TestingBot Storage.\nAppUrl is the `tb://` url you previously received from the TestingBot API.\n\n```php\n$api-\u003egetStorageFile($appUrl);\n```\n\n### getStorageFiles\nGets meta data from all file previously uploaded to TestingBot Storage.\n\n```php\n$api-\u003egetStorageFiles();\n```\n\n### deleteStorageFile\nDeletes a file previously uploaded to TestingBot Storage.\nAppUrl is the `tb://` url you previously received from the TestingBot API.\n\n```php\n$api-\u003edeleteStorageFile($appUrl);\n```\n\n### getAuthenticationHash\nCalculates the hash necessary to share tests with other people\n\n```php\n$api-\u003egetAuthenticationHash($identifier);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestingbot%2Ftestingbot-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestingbot%2Ftestingbot-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestingbot%2Ftestingbot-php/lists"}