{"id":36398341,"url":"https://github.com/chaos-php/chaos-monkey","last_synced_at":"2026-01-11T16:01:30.130Z","repository":{"id":44992855,"uuid":"332157379","full_name":"chaos-php/chaos-monkey","owner":"chaos-php","description":"Chaos Monkey is a resiliency tool that helps PHP applications tolerate random failures.","archived":false,"fork":false,"pushed_at":"2025-07-28T08:12:39.000Z","size":113,"stargazers_count":28,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-12T03:40:32.582Z","etag":null,"topics":["chaos-engineering","chaos-monkey","hacktoberfest","php","quality-assurance","testing"],"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/chaos-php.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-01-23T07:56:45.000Z","updated_at":"2025-07-28T08:51:19.000Z","dependencies_parsed_at":"2025-07-25T20:39:19.476Z","dependency_job_id":"b2ef81f4-e2f6-4e96-a529-d1a1c08229dc","html_url":"https://github.com/chaos-php/chaos-monkey","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/chaos-php/chaos-monkey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaos-php%2Fchaos-monkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaos-php%2Fchaos-monkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaos-php%2Fchaos-monkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaos-php%2Fchaos-monkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaos-php","download_url":"https://codeload.github.com/chaos-php/chaos-monkey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaos-php%2Fchaos-monkey/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28312075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: 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":["chaos-engineering","chaos-monkey","hacktoberfest","php","quality-assurance","testing"],"created_at":"2026-01-11T16:00:30.753Z","updated_at":"2026-01-11T16:01:30.114Z","avatar_url":"https://github.com/chaos-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChaosMonkey 🐒 for PHP\n\n[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)\n[![build](https://github.com/chaos-php/chaos-monkey/actions/workflows/build.yml/badge.svg)](https://github.com/chaos-php/chaos-monkey/actions/workflows/build.yml)\n[![Latest Stable Version](https://poser.pugx.org/chaos-php/chaos-monkey/v/stable?format=flat)](https://packagist.org/packages/chaos-php/chaos-monkey)\n![GitHub](https://img.shields.io/github/license/chaos-php/chaos-monkey)\n\nChaos Monkey for PHP applications. Try to attack your running PHP App.\n\n## Assaults\n\n - **Latency Assault** - adds a delay randomly from the range (min and max)\n - **Exception Assault** - throws given exception class\n - **Memory Assault** - fill memory until target fraction (95% for example) \n - **Kill Assault** - no mercy, plain `exit()`\n\n## How to use\n\nThe best experience you can get is using ready-made integrations:\n - Symfony: [ChaosMonkeySymfonyBundle](https://github.com/chaos-php/chaos-monkey-symfony-bundle)\n - Laravel: [ChaosMonkeyLaravelPackage](https://github.com/chaos-php/chaos-monkey-laravel-package) (in progress)\n\nIf your framework is missing, open an issue or use this package manually:\n\n1. Install with composer:\n   ```bash\n   composer require chaos-php/chaos-monkey\n   ```\n2. Create `ChaosMonkey` object\n   ```php \n   $settings = new Settings();\n   $chaosMonkey = new ChaosMonkey([\n      new LatencyAssault($settings),\n      new MemoryAssault($settings),\n      new ExceptionAssault($settings),\n      new KillAppAssault($settings)\n   ], $settings);\n   ```\n3. Configure settings and trigger chaos monkey in the working place of the application:\n   ```php\n   $settings-\u003esetExceptionActive(true);\n   $settings-\u003esetExceptionClass(\\RuntimeException::class);\n   $settings-\u003esetProbability(100);\n   $settings-\u003esetEnabled(true);\n   \n   \n   $chaosMonkey-\u003ecall();\n   ```   \n4. Watch your app plunge into chaos 🙈🙊🙉 😈\n\n## License\n\nChaosMonkey is released under the MIT Licence. See the bundled LICENSE file for details.\n\n## Author\n\n[Arkadiusz Kondas](https://twitter.com/ArkadiuszKondas)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaos-php%2Fchaos-monkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaos-php%2Fchaos-monkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaos-php%2Fchaos-monkey/lists"}