docker-php-client

🐳 Docker PHP Client

Latest Version PHP Version License

πŸ“– About the Project

Docker PHP Client is a modern, object-oriented library for interacting with the Docker API using PHP. The library provides a convenient and type-safe interface for working with Docker containers, images, networks, volumes, and system functions.

✨ Features

🌐 Documentation

Choose your language:

πŸš€ Quick Start

use Sangezar\DockerClient\DockerClient;

// Create a client connecting to local Docker daemon
$client = DockerClient::createUnix();

// List all containers
$containers = $client->container()->list(['all' => true]);

// Get Docker system information
$info = $client->system()->info();

πŸ“¦ Installation

composer require sangezar/docker-php-client

πŸ› οΈ Requirements

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

🀝 Contributing

Contributions are welcome! Feel free to submit a pull request.

πŸ™ Acknowledgements

Special thanks to the Docker team for creating an excellent API and documentation.