christopher-paul-shaw/githubrepocache

该软件包最新版本(0.0.2)没有提供许可证信息。

检索和缓存用户的公开github仓库

0.0.2 2019-02-22 11:25 UTC

This package is auto-updated.

Last update: 2024-09-15 01:56:00 UTC


README

一个简单的类,用于通过用户名下载和缓存公开可见的github仓库。

用法

$github = new GitHubRepoCache('username');
$repos = $repos->getRepos();

测试

随着新功能的添加,将会有新的测试来证明它们按预期工作。您可以使用以下命令自行运行测试。

vendor/bin/phpunit test