{"id":15014433,"url":"https://github.com/brain-wp/brainmonkey","last_synced_at":"2025-05-14T13:06:06.115Z","repository":{"id":29107365,"uuid":"32636827","full_name":"Brain-WP/BrainMonkey","owner":"Brain-WP","description":"Mocking utility for PHP functions and WordPress plugin API","archived":false,"fork":false,"pushed_at":"2025-01-15T09:49:22.000Z","size":1227,"stargazers_count":306,"open_issues_count":8,"forks_count":28,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-07T21:53:07.750Z","etag":null,"topics":["mockery","mockey-patching","php","phpunit","tests","wordpress"],"latest_commit_sha":null,"homepage":"https://giuseppe-mazzapica.gitbook.io/brain-monkey/","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/Brain-WP.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":"2015-03-21T15:14:15.000Z","updated_at":"2025-04-02T22:22:04.000Z","dependencies_parsed_at":"2023-11-24T20:22:25.713Z","dependency_job_id":"8c0cedb5-9f65-4636-bbbc-29de2fe361e4","html_url":"https://github.com/Brain-WP/BrainMonkey","commit_stats":{"total_commits":257,"total_committers":15,"mean_commits":"17.133333333333333","dds":"0.35408560311284043","last_synced_commit":"d56d37a3746aaef1f4cbc684f872297e8f0f2121"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brain-WP%2FBrainMonkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brain-WP%2FBrainMonkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brain-WP%2FBrainMonkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brain-WP%2FBrainMonkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brain-WP","download_url":"https://codeload.github.com/Brain-WP/BrainMonkey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254149953,"owners_count":22022851,"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":["mockery","mockey-patching","php","phpunit","tests","wordpress"],"created_at":"2024-09-24T19:45:37.787Z","updated_at":"2025-05-14T13:06:06.090Z","avatar_url":"https://github.com/Brain-WP.png","language":"PHP","readme":"# README\n\n## Brain Monkey\n\n[![PHP Quality Assurance](https://github.com/Brain-WP/BrainMonkey/workflows/PHP%20Quality%20Assurance/badge.svg)](https://github.com/Brain-WP/BrainMonkey/actions?query=workflow%3A%22PHP+Quality+Assurance%22)\n[![codecov](https://codecov.io/gh/Brain-WP/BrainMonkey/branch/master/graph/badge.svg)](https://codecov.io/gh/Brain-WP/BrainMonkey)\n\nBrain Monkey is a tests utility for PHP.\n\nIt provides **two set of helpers**:\n\n* the first are framework-agnostic tools that allow to mock \\(or _monkey patch_\\) and to test behavior of any **PHP function**\n* the second are **specific to WordPress** and make unit testing of WordPress extensions a no-brainer.\n\n## Requirements\n\n* PHP 5.6+\n* [Composer](https://getcomposer.org/) to install\n\nVia Composer following packages are required:\n\n* [mockery/mockery](https://packagist.org/packages/mockery/mockery) version 1 \\(BSD-3-Clause\\)\n* [antecedent/patchwork](https://packagist.org/packages/antecedent/patchwork) version 2 \\(MIT\\)\n\nWhen installed for development, following packages are also required:\n\n* [phpunit/phpunit](https://packagist.org/packages/phpunit/phpunit) version 5.7 \\(BSD-3-Clause\\)\n\n## License\n\nBrain Monkey is open source and released under MIT license. See LICENSE file for more info.\n\n## Question? Issues?\n\nBrain Monkey is hosted on GitHub. Feel free to open issues there for suggestions, questions and real issues.\n\n## Who's Behind\n\nI'm Giuseppe, I deal with PHP since 2005. For questions, rants or chat ping me on Twitter \\([@gmazzap](https://twitter.com/gmazzap)\\) or on [\"The Loop\"](https://chat.stackexchange.com/rooms/6/the-loop) \\(Stack Exchange\\) chat.\n\nWell, it's possible I'll ignore rants.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrain-wp%2Fbrainmonkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrain-wp%2Fbrainmonkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrain-wp%2Fbrainmonkey/lists"}