realpage / waves
:package_description
v1.0.0-rc3
2016-08-02 03:39 UTC
Requires
- php: ~5.5|~7.0
- php-curl-class/php-curl-class: ^4.12
Requires (Dev)
- illuminate/support: ^5.2
- phpunit/phpunit: ~4.0||~5.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2020-09-04 20:50:11 UTC
README
PHP客户端,使与Docker Hub通信更加便捷。其中许多功能基于RyanTheAllmighty在他基于node的Docker-Hub-API库上的工作。
安装
通过Composer
$ composer require realpage/waves
用法
$adapter = new DockerHubAdapter(); $client = new Client($adapter); $client->login('username', 'password'); // '9723ad9b77d187dc8c87f3d63d87c443' $client->createRepository('realpage', 'waves', 'example description'); /* * { * "user": "realpage", * "name": "waves", * "namespace": "realpage", * "status": 0, * "description": "example repository", * "is_private": false, * "is_automated": false, * "can_edit": true, * "star_count": 0, * "pull_count": 0, * "last_updated": null, * "full_description": "example repository" * } */
变更日志
请参阅CHANGELOG以获取更多有关最近更改的信息。
测试
$ composer test
贡献
请参阅CONTRIBUTING和CONDUCT以获取详细信息。
安全
如果您发现任何与安全相关的问题,请通过电子邮件john.laswell@realpage.com联系,而不是使用问题跟踪器。
致谢
- [John Laswell][https://github.com/jlaswell]
许可证
MIT许可证(MIT)。请参阅许可证文件以获取更多信息。