PHPUnit is the de facto standard testing framework for PHP, where test classes extend TestCase and test methods (conventionally prefixed with 'test' or annotated with #[Test]) contain assertions like assertEquals() and assertTrue(). Tests are run with the phpunit CLI command.
Data providers let a single test method run against multiple input/output pairs, and mock objects (via createMock()) isolate the unit under test from its dependencies.