phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

PHP
This is stars and forks stats for /phpspec/prophecy repository. As of 05 May, 2024 this repository has 8546 stars and 232 forks.

Prophecy Prophecy is a highly opinionated yet very powerful and flexible PHP object mocking framework. Though initially it was created to fulfil phpspec2 needs, it is flexible enough to be used inside any testing framework out there with minimal effort. A simple example <?php class UserTest extends PHPUnit\Framework\TestCase { private $prophet; public function testPasswordHashing() { $hasher = $this->prophet->prophesize('App\Security\Hasher'); $user = new App\Entity\User($hasher->reveal()); ...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
sebastianbergmann/versionPHP6.4k+133+1
sebastianbergmann/php-file-iteratorPHP7.3k0750
Adyen/adyen-magento2PHPHTMLJavaScript1440185+1
yude/ahnmika-whiteBrainfuckC++HTML11070
voidcrew/Voidcrew-LRPDMJavaScriptHTML110770
cnumr/ecoCodeGroovyJavaHTML620480
nWidart/laravel-modulesPHPBlade5k09110
kevinpapst/kimai2PHPTwigJavaScript2.4k04690
wire-elements/modalPHPJavaScriptBlade96701160
Xilinx/meta-browserBitBakePHPPython0000