{"id":24714437,"url":"https://github.com/ml-opensource/rest-tester","last_synced_at":"2026-04-12T12:36:43.076Z","repository":{"id":62508305,"uuid":"62831172","full_name":"ml-opensource/rest-tester","owner":"ml-opensource","description":"A suite of helper methods to test REST APIs.","archived":false,"fork":false,"pushed_at":"2016-12-09T20:45:19.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-09-07T07:28:40.191Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ml-opensource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-07T18:56:17.000Z","updated_at":"2024-05-02T06:39:59.000Z","dependencies_parsed_at":"2022-11-02T12:46:00.494Z","dependency_job_id":null,"html_url":"https://github.com/ml-opensource/rest-tester","commit_stats":null,"previous_names":["ml-opensource/rest-tester"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ml-opensource/rest-tester","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-opensource%2Frest-tester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-opensource%2Frest-tester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-opensource%2Frest-tester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-opensource%2Frest-tester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ml-opensource","download_url":"https://codeload.github.com/ml-opensource/rest-tester/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-opensource%2Frest-tester/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31715492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"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":[],"created_at":"2025-01-27T08:16:35.732Z","updated_at":"2026-04-12T12:36:43.050Z","avatar_url":"https://github.com/ml-opensource.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Laravel REST-tester [![Build Status](https://img.shields.io/travis/fuzz-productions/rest-tester/master.svg?style=flat)](https://travis-ci.org/fuzz-productions/rest-tester)\n===========================================================================================================================================================================\nA suite of helper methods to test REST APIs.\n\n## Setup\n1. Require-dev the composer package\n1. Extend your base API test case from `Fuzz\\RestTests\\BaseRestTestCase`\n1. Adjust `setUp` and `tearDown` as needed. The tests for this package are a good example of how to use it.\n   1. This package extends `orchestra/testbench` so all available functionality is present in `rest-tester` \n\n## Helper Traits\n### Base\n1. `Fuzz\\RestTests\\BaseRestTestCase` provides some helper methods to configure tests for a RESTful API\n\n### Resources\n1. `Fuzz\\RestTests\\Resources\\RestfulResource` provides helper methods to test endpoints for restful resources\n1. Add `Fuzz\\RestTests\\Resources\\TestResourceX` (where X is the resource action) traits depending on which actions need to be tested\n\n### OAuth\n1. `Fuzz\\RestTests\\AuthTraits\\OAuthTrait` provides methods to authenticate, refresh tokens, retrieve tokens from request objects, create users/clients with scopes, etc.\n\n## Who tests the testers?\nRun `phpunit` after `composer install`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fml-opensource%2Frest-tester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fml-opensource%2Frest-tester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fml-opensource%2Frest-tester/lists"}