Our great sponsors
-
In that regard, someone posted symfony's test suite as an example of good PHPUnit testing. The first file I clicked on demonstrated how worthless (IMO) unit testing can be: https://github.com/symfony/http-kernel/blob/v6.0.8/Tests/CacheClearer/ChainCacheClearerTest.php
-
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.
-
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.
-
-
-
-
The pattern functional core, imperative shell will help you make bigger chunks of your code-base be unit testable without database or file scaffolding.
-
Pest
Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
Once you're comfortable with PHPUnit (Unit Testing and TDD) the next step is BDD (Behaviour-Driven Development). For this Behat is a good starting point. But my favourite was always Codeception because it has PHPUnit included and does everything (unit tests, functional test, integration tests). The only awkward part ro both of these is installing selenium (at least on windows) Pest is also becoming very popular among the Laravel community, but it will work with anything https://pestphp.com/
-
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.
-
For tools, I use PHPUnit, Symfony's PHPUnit helper classes, and Panther (for frontend/headless-browser testing, mostly JS behavior)