PHPUnit

The PHP Unit Testing framework. (by sebastianbergmann)

PHPUnit Alternatives

Similar projects and alternatives to PHPUnit

  1. Laravel

    418 PHPUnit VS Laravel

    Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. PHPT

    308 PHPUnit VS PHPT

    The PHP Interpreter

  4. MongoDB

    307 PHPUnit VS MongoDB

    The MongoDB Database

  5. starter-workflows

    Accelerating new GitHub Actions workflows

  6. Composer

    Dependency Manager for PHP

  7. MySQL

    187 PHPUnit VS MySQL

    MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

  8. Symfony

    176 PHPUnit VS Symfony

    The Symfony PHP framework

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. Rector

    Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

  11. Packagist

    Package Repository Website - try https://packagist.com if you need your own -

  12. PHPStan

    62 PHPUnit VS PHPStan

    PHP Static Analysis Tool - discover bugs in your code without running it!

  13. Twig

    62 PHPUnit VS Twig

    Twig, the flexible, fast, and secure template language for PHP

  14. Pest

    41 PHPUnit VS Pest

    Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.

  15. PHP Code Sniffer

    PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

  16. Psalm

    46 PHPUnit VS Psalm

    A PHP static analysis tool for finding errors and security vulnerabilities in PHP applications

  17. PHP CS Fixer

    A tool to automatically fix PHP Coding Standards issues

  18. GrumPHP

    26 PHPUnit VS GrumPHP

    A PHP code-quality tool

  19. Codeception

    Full-stack testing PHP framework

  20. Mockery

    4 PHPUnit VS Mockery

    Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).

  21. PHP Mess Detector

    PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.

  22. Kahlan

    0 PHPUnit VS Kahlan

    :heavy_check_mark: PHP Test Framework for Freedom, Truth, and Justice

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better PHPUnit alternative or higher similarity.

PHPUnit discussion

Log in or Post with
  1. User avatar
    nicholascn
    · 11 months ago
    · Reply

    Review ★★★★★ 10/10

  2. User avatar
    deligoez
    · 11 months ago
    · Reply

    Review ★★★★★ 10/10

PHPUnit reviews and mentions

Posts with mentions or reviews of PHPUnit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-09-11.
  • Integration tests on Symfony with Testcontainers
    13 projects | dev.to | 11 Sep 2024
    One of biggest advantages of Symfony is the support to do tests integrated with PHPUnit and with a functional kernel to do the bootstrap necessary for the tests.
  • Testes de Integração no Symfony com Testcontainers
    12 projects | dev.to | 29 Aug 2024
  • 8 Essential Tools Every PHP Developer Needs
    6 projects | dev.to | 27 Feb 2024
    PHPUnit is the de facto standard for PHP unit testing. It provides a framework for writing and running tests, helping developers quickly discover and fix errors. PHPUnit encourages developers to write testable code and adopt a test-driven development approach, resulting in higher-quality code and reduced chances of errors in production.
  • How to migrate from Api Platform v2 to v3?
    2 projects | dev.to | 29 Nov 2023
    Before updating Api Platform, you should make sure that your Api Platform routes are fully covered by tests. You can define integration tests with PHPUnit, Behat or Pest, depending on the tool you’re most comfortable with.
  • How To Write Better and Quality Code
    5 projects | dev.to | 5 Nov 2023
    PHP popular tools for testing: PHPUnit
  • PHP libraries and tools
    47 projects | dev.to | 18 Oct 2023
    PHPUnit: PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks. Extensions/tools: brianium/paratest: Parallel testing for PHPUnit johnkary/phpunit-speedtrap: Reports on slow-running tests in your PHPUnit test suite. robiningelbrecht/phpunit-pretty-print: Better PHPUnit CLI output with Collision roave/no-leaks: PHPUnit Plugin for detecting Memory Leaks in code and tests
  • PHPUnit 10 - Coverage attributes
    1 project | /r/PHP | 23 Jun 2023
    We want to start migrating to Attributes because of the announcement made here that in PHPUnit 12 support for metadata in docblocks will be removed: https://github.com/sebastianbergmann/phpunit/issues/4502
  • Top 6 PHP code quality tools 2023
    7 projects | dev.to | 30 May 2023
    PHPUnit: PHPUnit PHPUnit is a testing framework for PHP. It enables developers to write unit tests, integration tests, and functional tests to verify the correctness of their code. It offers a wide range of assertions, test runners, and mocking capabilities. Documentation: Explore PHPUnit's capabilities and learn how to write effective tests in the official documentation: PHPUnit Repository
  • I created a PHPUnit 10 extension to prettify CLI output
    6 projects | /r/PHP | 25 Apr 2023
    I really like how Pest PHP formats and outputs test results, but I still prefer to use PHPUnit. Luckily there's Collision. This package is designed to give you beautiful error reporting when interacting with your app through the command line.
  • Setup local development environment and run tests of PHP Twig
    5 projects | dev.to | 19 Mar 2023
    Finally we install the command line version of php (no web server is needed for this project), composer which is a package management system for PHP and PHP Unit, the testing framework of PHP.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 24 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic PHPUnit repo stats
49
19,859
9.9
3 days ago

sebastianbergmann/phpunit is an open source project licensed under BSD 3-clause "New" or "Revised" License which is an OSI approved license.

The primary programming language of PHPUnit is PHP.


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that PHP is
the 14th most popular programming language
based on number of references?