tarekdj/docker-client

Docker client for PHP

dev-main 2023-01-22 19:29 UTC

This package is not auto-updated.

Last update: 2024-11-25 03:56:47 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.