{"id":36569840,"url":"https://github.com/chaos-php/chaos-monkey-symfony-bundle","last_synced_at":"2026-01-12T07:14:02.966Z","repository":{"id":54132667,"uuid":"323919031","full_name":"chaos-php/chaos-monkey-symfony-bundle","owner":"chaos-php","description":"Chaos Monkey for Symfony applications. Try to attack your running Symfony App.","archived":false,"fork":false,"pushed_at":"2024-06-02T08:26:09.000Z","size":125,"stargazers_count":86,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-27T07:45:53.867Z","etag":null,"topics":["chaos-engineering","chaos-monkey","php","quality-assurance","symfony","symfony-bundle"],"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}},"created_at":"2020-12-23T14:09:53.000Z","updated_at":"2024-06-03T06:41:34.000Z","dependencies_parsed_at":"2022-08-13T07:10:41.522Z","dependency_job_id":null,"html_url":"https://github.com/chaos-php/chaos-monkey-symfony-bundle","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/chaos-php/chaos-monkey-symfony-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaos-php%2Fchaos-monkey-symfony-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaos-php%2Fchaos-monkey-symfony-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaos-php%2Fchaos-monkey-symfony-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaos-php%2Fchaos-monkey-symfony-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaos-php","download_url":"https://codeload.github.com/chaos-php/chaos-monkey-symfony-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaos-php%2Fchaos-monkey-symfony-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"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":["chaos-engineering","chaos-monkey","php","quality-assurance","symfony","symfony-bundle"],"created_at":"2026-01-12T07:13:59.741Z","updated_at":"2026-01-12T07:14:02.960Z","avatar_url":"https://github.com/chaos-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChaosMonkeySymfonyBundle\n\n[![Minimum PHP Version](https://img.shields.io/badge/php-%5E8.1-8892BF.svg)](https://php.net/)\n![Symfony Versions Supported](https://img.shields.io/badge/symfony-%5E6.4%20%7C%7C%20%5E7.0-green)\n[![Packagist Version](https://img.shields.io/packagist/v/chaos-php/chaos-monkey-symfony-bundle)](https://packagist.org/packages/chaos-php/chaos-monkey-symfony-bundle)\n[![ci](https://github.com/chaos-php/chaos-monkey-symfony-bundle/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/chaos-php/chaos-monkey-symfony-bundle/actions/workflows/ci.yml)\n![GitHub](https://img.shields.io/github/license/chaos-php/chaos-monkey-symfony-bundle)\n\nChaos Monkey for Symfony applications. Try to attack your running Symfony 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## Watchers\n\n - **Request** - attack http request\n - Repository (not implemented)\n - Service (not implemented)\n\n## Activators\n\n - \"Query param\" - attack only if given query param is present (default `chaos`)\n\n## Symfony \n\n## How to use\n\n1. Install with composer:\n    ```bash\n    composer require chaos-php/chaos-monkey-symfony-bundle\n    ```\n2. Add Symfony bundle (e.g. `config/bundles.php`):\n    ```php \n    return [\n        //... other bundles\n        Chaos\\Monkey\\Symfony\\ChaosMonkeyBundle::class =\u003e ['all' =\u003e true],\n    ];\n    ```\n3. Add `chaos_monkey.yaml` configuration (copy from below) and enable assaults\n4. Watch your app plunge into chaos 🙈🙊🙉 😈\n\n## Configuration reference\n\n```yml\nchaos_monkey:\n    enabled: false\n    probability: 20 # percentage probability of attack (100 - everyone, 0 - none)\n    assaults:\n        latency:\n            active: false\n            minimum: 1000 # in miliseconds\n            maximum: 3000 # in miliseconds\n        memory:\n            active: false\n            fill_fraction: 0.95 # percentage of memory filling\n        exception:\n            active: false\n            class: 'RuntimeException'\n        kill_app:\n            active: false\n    watchers: # currently watchers can be enabled/disabled only in container compile time\n        request:\n            enabled: true\n            priority: 0\n    activators:\n       query_param: false # if true then chaos monkey will be called only if given query param exist (with any value)\n       query_param_name: 'chaos'\n```\n\n## Roadmap\n - [ ] Flex recipe\n - [ ] Metrics (for example `chaos_monkey_request_count_assaulted`)\n - [ ] Assault profiles - each profile can contain different assaults\n - [ ] CustomWatcher (based on container tag)\n - [ ] CustomAssault (not implemented)\n\n## License\n\nChaosMonkeySymfonyBundle is released under the MIT Licence. See the bundled LICENSE file for details.\n\n## Author\n\nArkadiusz Kondas (@ArkadiuszKondas)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaos-php%2Fchaos-monkey-symfony-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaos-php%2Fchaos-monkey-symfony-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaos-php%2Fchaos-monkey-symfony-bundle/lists"}