Testing PHP Applications

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • calculator

    A POC for php testing tools (by mchojrin)

  • You can get the full example from GitHub if you want to check it out.

  • PHPUnit

    The PHP Unit Testing framework.

  • There are many tools you can use to prove the correct working of this method. The most popular one (by far!) is phpUnit.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Pest

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

  • Pest: a testing framework designed following Laravel coding standards

  • Composer

    Dependency Manager for PHP

  • The first thing you should do to add it to your project is install the tool. The best way to go about it is to add it as a dependency of the project. Assuming that your project is built using composer, all you need to do is issue a composer require --dev phpunit/phpunit, which will produce a new file inside your vendor/bin directory: phpunit.

  • Codeception

    Full-stack testing PHP framework

  • There are many tools you can use for this purpose, but one I particularly like is CodeCeption. What I like most about it is that it's a unified tool that can be used to perform several types of tests, acceptance being one of them.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts