PHP code without tests in 2026 is code that ages badly.

Pyramid

70% unit (Pest), 25% integration (PHPUnit), 5% E2E (Playwright or Panther).

Pest

Jest-like syntax, dataset-driven params, readable output.

Infection

Mutation testing catches what coverage misses. The biggest quality boost in 2 years.