From fbf801a40e63add840c820edfa5cd41598f3015f Mon Sep 17 00:00:00 2001 From: Sergei Shitikov Date: Fri, 13 Jun 2025 00:00:31 +0200 Subject: [PATCH 1/2] Clarify README about legacy PHP --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 788453f..e9f7f54 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ Testcontainers is a PHP package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The package is inspired by the [Testcontainers](https://www.testcontainers.org/) project for Java. +## Legacy PHP support + +The official `testcontainers/testcontainers` library requires PHP 8.1 or newer. If you need to support older PHP versions, including those that are EOL, check out the community-maintained [k-kinzal/testcontainers-php](https://github.com/k-kinzal/testcontainers-php) project. The discussion about supporting legacy versions lives in [issue #38](https://github.com/testcontainers/testcontainers-php/issues/38). + ## Installation Add this to your project with composer From efd964331d01286a1ce9ef8ca27f1a79b1d5c68d Mon Sep 17 00:00:00 2001 From: Sergei Shitikov Date: Fri, 13 Jun 2025 00:03:31 +0200 Subject: [PATCH 2/2] small readme adjustment --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e9f7f54..cf82ac9 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Testcontainers is a PHP package that makes it simple to create and clean up cont ## Legacy PHP support -The official `testcontainers/testcontainers` library requires PHP 8.1 or newer. If you need to support older PHP versions, including those that are EOL, check out the community-maintained [k-kinzal/testcontainers-php](https://github.com/k-kinzal/testcontainers-php) project. The discussion about supporting legacy versions lives in [issue #38](https://github.com/testcontainers/testcontainers-php/issues/38). +The official `testcontainers/testcontainers-php` library requires PHP 8.1 or newer. If you need to support older PHP versions, including those that are EOL, please check out the community-maintained [k-kinzal/testcontainers-php](https://github.com/k-kinzal/testcontainers-php) project. The discussion about supporting legacy versions lives in [issue #38](https://github.com/testcontainers/testcontainers-php/issues/38). ## Installation