tarekdj / docker-client
Docker client for PHP
dev-main
2023-01-22 19:29 UTC
Requires
- php: ^8.0
- nyholm/psr7: ^1.3
- psr/http-client: ^1.0
- symfony/options-resolver: ^2.6 || ^3.4 || ^4.4 || ^5.0 || ^6.0
- tarekdj/docker-api-client: dev-main
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.2 || ^3.0
- php-http/client-integration-tests: ^3.0
- phpunit/phpunit: ^8.5.23 || ~9.5
- rector/rector: ^0.15.2
Provides
This package is not auto-updated.
Last update: 2024-11-11 03:46:28 UTC
README
The Docker client use the stream extension from PHP, which is integrated into the core.
About this package
This package is a fork from php-http/socket-client. The goal of this project is to provide a Docker client for PHP.
If you need a socket client, please use php-http/socket-client!
Testing
First launch the http server:
$ ./vendor/bin/http_test_server > /dev/null 2>&1 &
Then generate ssh certificates:
$ composer gen-ssl
Note: If you are running this on macOS and get the following error: "Error opening CA Private Key privkey.pem", check this file.
Now run the test suite:
$ composer test
License
The MIT License (MIT). Please see License File for more information.