PhpStorm
 
2025.1
Get PhpStorm

Testing

Last modified: 24 March 2025

PhpStorm supports all major PHP testing frameworks: PHPUnit, Pest, Behat, Codeception, and PHPSpec. If you are using these frameworks, you can:

PhpStorm enables support for the test frameworks used in the project automatically if you install project dependencies with Composer. If a project contains multiple composer.json files, each Composer-managed subdirectory will have its own configurations for test frameworks. To customize the test framework configuration, or enable support manually, go to the Test Frameworks settings page.

For framework-specific guides, see: