{"id":16387663,"url":"https://github.com/eddiejibson/sido","last_synced_at":"2025-07-14T08:05:23.802Z","repository":{"id":56974885,"uuid":"187781341","full_name":"eddiejibson/sido","owner":"eddiejibson","description":"Simplistic PHP testing library with 0 composer dependencies.","archived":false,"fork":false,"pushed_at":"2019-06-01T12:51:40.000Z","size":54,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T13:44:18.742Z","etag":null,"topics":["framework","php","testing","unit","unit-testing","unit-testing-framework"],"latest_commit_sha":null,"homepage":"https://sido.jibson.me","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/eddiejibson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-21T07:08:09.000Z","updated_at":"2020-01-23T21:03:42.000Z","dependencies_parsed_at":"2022-08-21T07:40:38.490Z","dependency_job_id":null,"html_url":"https://github.com/eddiejibson/sido","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eddiejibson/sido","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiejibson%2Fsido","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiejibson%2Fsido/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiejibson%2Fsido/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiejibson%2Fsido/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddiejibson","download_url":"https://codeload.github.com/eddiejibson/sido/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiejibson%2Fsido/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265262476,"owners_count":23736408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["framework","php","testing","unit","unit-testing","unit-testing-framework"],"created_at":"2024-10-11T04:27:10.130Z","updated_at":"2025-07-14T08:05:23.751Z","avatar_url":"https://github.com/eddiejibson.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sido\n\n*sido (시도)* meaning : Try/attempt\n\nA very simplistic PHP unit testing library.\n\nIf you're finding this library of use, please consider starring it on the [GitHub repository](https://github.com/eddiejibson/sido). It makes our night sky better. ⭐\n\n[Read the documentation here](https://sido.jibson.me)\n\n## Installation\n\n```bash\ncomposer require --dev eddiejibson/sido:dev-master\n```\n\n## Why sido?\n\n- Simple and light\n- Provides test report generation in the junit-like style - suitable for immediate use on platforms such as CircleCI (no need to format it specially yourself)\n- 0 composer dependencies\n- Few assertions (easy to get used to) which still provides everything you need\n- Provides a [Discord](https://discordapp.com) notification utility via a webhook (notify you and your team easily on completion of a test)\n\n## Basic example\n\n```php\nrequire \"/vendor/autoload.php\"; //Require composer's autoload\n\n//Custom options can be set. All are Optional\n$options = [\n    \"report\" =\u003e dirname(__FILE__) . \"/reports/\" . \"report.xml\", //Report location. Set to false to disable generation fully.\n    //On test completion, webhooks can be run. You can set some here.\n    \"discord\" =\u003e [ //Discord webhook settings. If not set, will default to false (not used)\n        \"webhook\" =\u003e \"https://discordapp.com/api/webhooks/id/token\", //Your Discord webhook URL. \n        //This can be created by editing the Discord channel and navigating to the 'webhooks' section\n        \"name\" =\u003e \"Eddie's test runner\" //The name of the bot. This is Optional\n    ]\n];\n\n//Intialize the Sido class and pass the options defined into it.\n//The options array is not required and you may pass in nothing.\n$sido = new \\eddiejibson\\Sido($options);\n\n//Set the test you're currently running\n$sido-\u003esetTest(\"Array test\");\n\n//Test array we will be using\n$array = [\"hello\" =\u003e true];\n\n//Add testcases to the test\n$sido-\u003eshould(is_array($array), \"Be an array\");\n$sido-\u003eshould(count($array) \u003e 0, \"Have a length greater than 0\");\n\n//Add another test\n$sido-\u003esetTest(\"Random test\");\n\n//Add a testcase to this test\n$sido-\u003eshould((1 == 1), \"1 should equal 1\");\n\n//And that's pretty much it...\n```\n\n[Example of how to integrate Sido with CircleCI for automated testing](https://github.com/eddiejibson/sido-test)\n\n## Documentation\n\n[The full documentation can be viewed here](https://sido.jibson.me).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddiejibson%2Fsido","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddiejibson%2Fsido","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddiejibson%2Fsido/lists"}