{"id":87279,"library":"jangregor-phpstan-prophecy","title":"PHPStan Prophecy Extension","description":"Provides a phpstan/phpstan extension for phpspec/prophecy","status":"active","version":"2.3.0","language":"php","source_language":null,"source_url":"https://github.com/Jan0707/phpstan-prophecy","tags":["phpstan","prophecy","testing","static-analysis"],"install":[{"cmd":"composer require jangregor/phpstan-prophecy","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Prophet","correct":"use JanGregor\\Prophecy\\Prophet;"}],"quickstart":{"code":"use JanGregor\\Prophecy\\Prophet;\n\n$prophet = new Prophet();\n$prophecy = $prophet->prophesize(SomeClass::class);\n$prophecy->someMethod()->willReturn('mocked');\n$object = $prophecy->reveal();","lang":"php","description":"Create a prophecy mock using the PHPStan extension"},"warnings":[],"env_vars":null,"search_vec":"'analysi':15 'extens':3,7 'phpspec/prophecy':9 'phpstan':1,10 'phpstan/phpstan':6 'propheci':2,11 'provid':4 'static':14 'static-analysi':13 'test':12","created_at":"2026-06-19T08:15:57.291396+00:00","updated_at":"2026-06-19T08:15:57.291396+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Jan0707/phpstan-prophecy","github":"https://github.com/Jan0707/phpstan-prophecy","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}