- 授权协议: Apache
- 开发语言: PHP
- 操作系统: 跨平台
- 软件首页: https://github.com/delight-im/PHP-GitScraper
软件介绍
GitScraper 通过 HTTP 从公开可访问的 ".git" 文件夹下载整个 Git 仓库。
使用:
require __DIR__.'/src/GitScraper.php';
$scraper = new Delight\Git\GitScraper('http://www.example.com/.git/');
$scraper->fetch();
// var_dump($scraper->getFiles());
$scraper->download('./');
