k-kinzal/testcontainers-php
PHP library for Testcontainers
v0.6.1
70K downloads/mo
#2156 most downloaded on Packagist
k-kinzal/testcontainers-php
What this package is like to depend on
Last release 5 months ago
25 Mar 2026
Release timing varies
gaps range from 3 weeks to 8 months
Most releases are documented
notes for 8 of 9 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
9 releases · first in 2025
5 releases in the last 12 months
see the full history below
Release timeline
9 releases · Mar 2025 to Mar 2026Releases
latest 9-
v0.6.125 Mar 2026 -
v0.6.024 Mar 2026Release notes
Open source →What's Changed
- Setup .gitattributes - in order to exclude test dir from dist by @sasezaki in #97
- fixes allow actions to run on PRs from external contributors by @k-kinzal in #98
- Fixed cases where containers would not terminate by @k-kinzal in #99
- feat: add withFailurePattern() to LogMessageWaitStrategy by @k-kinzal in #100
- feat: add ConsoleLogger as a simple built-in PSR-3 debug logger by @k-kinzal in #101
- fix: use OneShotStartupCheckStrategy for exit-code-dependent tests by @k-kinzal in #102
- feat: add user and entrypoint override support to GenericContainer by @k-kinzal in #103
- feat: add withStopSignal and withStopTimeout for container stop configuration by @k-kinzal in #104
- fix: catch ProcessTimedOutException and convert to StartupCheckFailedException by @k-kinzal in #105
- fix: use null checks instead of falsy checks in setting trait getters by @k-kinzal in #106
New Contributors
Full Changelog: v0.5.1...v0.6.0
-
v0.5.110 Jan 2026 -
v0.5.009 Jan 2026Release notes
Open source →What's Changed
- update docs by @k-kinzal in #94
- feat: add --rm option to automatically remove containers on exit by @k-kinzal in #95
Full Changelog: v0.4.0...v0.5.0
-
v0.4.020 Dec 2025Release notes
Open source →What's Changed
- Remove redundant test annotations and add PHPUnit coverage support by @k-kinzal in #81
- Improve documentation for startup checks, logging, and SSH port forwarding by @k-kinzal in #82
- Add Claude Code GitHub Workflow by @k-kinzal in #83
- fix: prevent infinite recursion in GenericContainer start() method by @k-kinzal in #86
- fix: implement liveness check in WaitStrategies and refactor tests by @k-kinzal in #88
- fix: remove Qodo entries from .gitignore by @k-kinzal in #89
- fixes format by @k-kinzal in #90
- support php 8.4 by @k-kinzal in #91
- support php 8.5 by @k-kinzal in #92
- feat: add reuse mode functionality for containers by @k-kinzal in #93
Full Changelog: v0.3.1...v0.4.0
-
v0.3.107 May 2025 -
v0.3.005 May 2025Release notes
Open source →What's Changed
- Comprehensive documentation updates for testcontainers-php by @k-kinzal in #67
- Enhance configuration for auto-approval and review requirements by @k-kinzal in #68
- Add StaticPortStrategy for fixed port mapping with conflict handling by @k-kinzal in #69
- Add container status methods and improve error handling by @k-kinzal in #70
- Enhance CI configuration with opcache and xdebug adjustments by @k-kinzal in #72
- Refactor: type annotations, Stringable interface, namespace updates, enhanced docs, error handling, and coding standards by @k-kinzal in #74
- Refine host determination logic in GenericContainerInstance by @k-kinzal in #73
- Improve type safety and documentation in PDOConnectWaitStrategy by @k-kinzal in #75
- Add logging capabilities to various wait strategies and container management classes by @k-kinzal in #76
- Add timeout and retry interval configuration to IsRunningStartupCheckStrategy by @k-kinzal in #77
- Set default socket timeout for PDO connection attempts and fix password typo in log message by @k-kinzal in #78
- Prevent stopping a container that is not running by @k-kinzal in #79
Full Changelog: v0.2.0...v0.3.0
-
v0.2.010 Mar 2025Release notes
Open source →What's Changed
- Add Docker image build functionality with BuildCommand and DockerBuildOutput by @k-kinzal in #65
- Fixes
GenericContainer::getHostto return a fixed host name when using SSH port forwarding. by @k-kinzal in #66
Full Changelog: v0.1.0...v0.2.0
-
v0.1.004 Mar 2025Nothing published for this version