Native PHP functionality and having a good design in the first place provide everything you need to avoid a mocking library.
PHP
5 Ways to Extract Value from Overmocked Tests
Tomas shares his approach to get the most out of mocks, drop dead code, and make tests more valuable. Read more