PHPUnit is a programmer-oriented testing framework for PHP.It is an instance of the xUnit architecture for unit testing frameworks.
Take the first steps Let me help you Get the eBook
The currently supported versions are PHPUnit 9 and PHPUnit 8. PHPUnit 10 is currently being worked on.