DockerHub-API-PHP-SDK
A PHP SDK for integrating with DockerHub's API v2.
Installation
composer require bkuhl/dockerhub-api-php-sdk
Usage
$dockerhub = new \DockerHub\DockerHub($username, $password);
Organizations
List all repositories in an organization
$dockerhub->repositories($organization);
Repositories
Delete a repository.
$dockerhub->repository('[namespace]/[name]')->delete(); // bool
List the tags associated with a repository.
$dockerhub->repository('[namespace]/[name]')->tags();