{"id":675460,"name":"potherca/phpunit-mock-function","ecosystem":"packagist","description":"Trait that allows mocking functions in PhpUnit testcase.","homepage":"","licenses":"GPL-3.0","normalized_licenses":["GPL-3.0"],"repository_url":"https://github.com/potherca-blog/phpunit-mock-function","keywords_array":[],"namespace":"potherca","versions_count":6,"first_release_published_at":"2017-05-19T19:35:20.000Z","latest_release_published_at":"2017-06-01T10:26:56.000Z","latest_release_number":"v0.3.3","last_synced_at":"2026-09-16T15:07:21.844Z","created_at":"2022-04-07T10:45:45.706Z","updated_at":"2026-09-16T15:07:21.844Z","registry_url":"https://packagist.org/packages/potherca/phpunit-mock-function#","install_command":"composer require potherca/phpunit-mock-function","documentation_url":null,"metadata":{"funding":[]},"repo_metadata":{"id":57043934,"uuid":"91838246","full_name":"potherca-blog/phpunit-mock-function","owner":"potherca-blog","description":"Trait that allows mocking functions in PhpUnit testcase.","archived":false,"fork":false,"pushed_at":"2020-04-20T18:10:31.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T04:42:05.064Z","etag":null,"topics":["mock","mock-function","mocking","mocking-library","php","phpunit","phpunit-extension","phpunit-mock","phpunit-util","trait"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/potherca-blog.png","metadata":{"files":{"readme":null,"changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-19T19:19:20.000Z","updated_at":"2022-12-29T13:58:02.000Z","dependencies_parsed_at":"2022-08-23T23:31:07.769Z","dependency_job_id":null,"html_url":"https://github.com/potherca-blog/phpunit-mock-function","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/potherca-blog/phpunit-mock-function","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/potherca-blog","download_url":"https://codeload.github.com/potherca-blog/phpunit-mock-function/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36821675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-22T02:00:06.114Z","response_time":51,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"owner_record":{"login":"potherca-blog","name":"Potherca's Blog","uuid":"27136251","kind":"organization","description":"Blog posts by Potherca","email":"blog@pother.ca","website":"https://blog.pother.ca/","location":"Behind a keyboard.","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/27136251?v=4","repositories_count":60,"last_synced_at":"2024-03-26T18:11:00.670Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/potherca-blog","funding_links":[],"total_stars":67,"followers":1,"following":0,"created_at":"2022-11-04T04:48:18.528Z","updated_at":"2024-03-26T18:11:17.459Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/potherca-blog","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/potherca-blog/repositories"},"tags":[{"name":"v0.3.3","sha":"4767159450bec3f11f54963aa9e54c8a073a69aa","kind":"tag","published_at":"2017-06-01T10:27:31.000Z","download_url":"https://codeload.github.com/potherca-blog/phpunit-mock-function/tar.gz/v0.3.3","html_url":"https://github.com/potherca-blog/phpunit-mock-function/releases/tag/v0.3.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/potherca-blog/phpunit-mock-function@v0.3.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.3.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.3.3/manifests"},{"name":"v0.3.2","sha":"0d01df3c7671c4e10ec545ee168cdcf4ef513ab8","kind":"tag","published_at":"2017-06-01T10:03:29.000Z","download_url":"https://codeload.github.com/potherca-blog/phpunit-mock-function/tar.gz/v0.3.2","html_url":"https://github.com/potherca-blog/phpunit-mock-function/releases/tag/v0.3.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/potherca-blog/phpunit-mock-function@v0.3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.3.2/manifests"},{"name":"v0.3.1","sha":"c21641ce0c4af3fe57894548c838a21a54a3c50e","kind":"tag","published_at":"2017-05-31T12:24:44.000Z","download_url":"https://codeload.github.com/potherca-blog/phpunit-mock-function/tar.gz/v0.3.1","html_url":"https://github.com/potherca-blog/phpunit-mock-function/releases/tag/v0.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/potherca-blog/phpunit-mock-function@v0.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.3.1/manifests"},{"name":"v0.3.0","sha":"75a309c130695c9bf4fc8a269b371e55f3e8dc83","kind":"tag","published_at":"2017-05-31T12:09:12.000Z","download_url":"https://codeload.github.com/potherca-blog/phpunit-mock-function/tar.gz/v0.3.0","html_url":"https://github.com/potherca-blog/phpunit-mock-function/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/potherca-blog/phpunit-mock-function@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"033e77fe3638d9689cd92b56c9eae21353f1d238","kind":"tag","published_at":"2017-05-25T20:18:28.000Z","download_url":"https://codeload.github.com/potherca-blog/phpunit-mock-function/tar.gz/v0.2.0","html_url":"https://github.com/potherca-blog/phpunit-mock-function/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/potherca-blog/phpunit-mock-function@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"7f2185c51f46f9e74ca734f0ac071131d48f3505","kind":"tag","published_at":"2017-05-19T19:37:13.000Z","download_url":"https://codeload.github.com/potherca-blog/phpunit-mock-function/tar.gz/v0.1.0","html_url":"https://github.com/potherca-blog/phpunit-mock-function/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/potherca-blog/phpunit-mock-function@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-08-22T11:13:26.745Z","dependent_packages_count":0,"downloads":2094,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":18.12659940977919,"dependent_repos_count":33.45203757714433,"dependent_packages_count":19.101983596255177,"stargazers_count":null,"forks_count":null,"average":23.560206861059566},"purl":"pkg:composer/potherca/phpunit-mock-function","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/packagist/potherca/phpunit-mock-function","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/packagist/potherca/phpunit-mock-function","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/packagist/potherca/phpunit-mock-function/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-08-22T11:13:26.592Z","issues_count":0,"pull_requests_count":5,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":2575766.2,"issues_closed_count":0,"pull_requests_closed_count":5,"pull_request_authors_count":2,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.2,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":4,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fphpunit-mock-function/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/potherca%2Fphpunit-mock-function/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/potherca%2Fphpunit-mock-function/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/potherca%2Fphpunit-mock-function/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/potherca%2Fphpunit-mock-function/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/potherca%2Fphpunit-mock-function/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/potherca%2Fphpunit-mock-function/codemeta","maintainers":[{"uuid":"potherca","login":"potherca","name":null,"email":null,"url":null,"packages_count":22,"html_url":"https://packagist.org/users/potherca","role":null,"created_at":"2022-11-20T07:37:04.995Z","updated_at":"2022-11-20T07:37:04.995Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/maintainers/potherca/packages"}]}