Requirements
- PHP 8.1 or later, with the
mbstringextension. - Composer.
- Access to a Docker daemon that accepts API v1.45 requests.
Stable installation
Docker PHP 3.0.0 and API package 7.1.45.0 have not been released yet. Use this
command once both packages are available.
docker-php/docker-php-api dependency. If your
application requires the API package directly, keep its constraint within one
API line.
Test the development version
For a disposable test application before release, explicitly allow both development packages:composer.lock after testing.
If you already use Docker PHP or Beluga, follow the migration guide
instead of installing both package families together.