alphaolomi / alphaolomi/laravel-repman
There is no way to know if I am at the end of listing
未关闭
good first issue
help wanted
- 主要语言
- PHP
- 星标
- 7
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
How to know if I am at the end of listing?
```php
do {
$packages = $repmanService->packages($organization)->list($page);
if ($packages->contains('name', '=', $packageName)) {
$this->output->error('Package exists, exiting');
return Command::INVALID;
}
$page++;
} while ($packages->count());
```
as Repman always sends back last page(presumably, I do not know yet)
贡献指南
评估
这个 Issue 还没有评估数据。