PHPackages                             ierusalim/github-repo-walk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ierusalim/github-repo-walk

ActiveLibrary

ierusalim/github-repo-walk
==========================

Simple class for GitHub repository download or compare

0.1.1(8y ago)0371BSD-3-ClausePHPPHP &gt;=5.4

Since Jun 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ierusalim/github-repo-walk)[ Packagist](https://packagist.org/packages/ierusalim/github-repo-walk)[ RSS](/packages/ierusalim-github-repo-walk/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (1)

github-repo-walk
================

[](#github-repo-walk)

Simple class for download files from GitHub repositories.

\_It is not wrapper for "git". Using api.github.com to get files list.

### Example of use:

[](#example-of-use)

```
namespace ierusalim\GitRepoWalk;

require 'GitRepoWalk.php'; // or require 'vendor/autoload.php';

$g = new GitRepoWalk();

$g->writeEnable(); // if skip it remote repository will be compare with local

//download all files from repository to local-path
$stat = $g->gitRepoWalk(
    '',
    'ierusalim/github-repo-walk' //git-user and repository in one string
);

print_r($stat);
```

Result: download files from this repository to &lt;local path for repository&gt;

### Examples of some other functions:

[](#examples-of-some-other-functions)

```
//Get repositories list for specified user:
$repo_list_arr = $g->getUserRepositoriesList('php-fig');

//Get information about repository 'user/repo'
$repo_info = $g->getRepositoryInfo('ierusalim/github-repo-walk');

//Get contacts from repository 'user/repo' (emails, names, roles)
$contacts = $g->getRepositoryContacts('ierusalim/github-repo-walk');

print_r($contacts);

//Get files list from repository
$files = $g->getRepoFilesList("ierusalim/github-repo-walk");
//show file names
foreach($files->tree as $file_obj) {
    echo $file_obj->path . "\t{$file_obj->size}\n";
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

2

Last Release

3237d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d8f053e8eb8f750c7b644613b51c876a71c931b8a1eb0f11e2b987c9275b01e?d=identicon)[ierusalim](/maintainers/ierusalim)

---

Top Contributors

[![ierusalim](https://avatars.githubusercontent.com/u/29404724?v=4)](https://github.com/ierusalim "ierusalim (41 commits)")

---

Tags

githubrepositorydownloadrepo

### Embed Badge

![Health badge](/badges/ierusalim-github-repo-walk/health.svg)

```
[![Health](https://phpackages.com/badges/ierusalim-github-repo-walk/health.svg)](https://phpackages.com/packages/ierusalim-github-repo-walk)
```

###  Alternatives

[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

2.9k404.0M702](/packages/league-commonmark)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[ondram/ci-detector

Detect continuous integration environment and provide unified access to properties of current build

22249.4M33](/packages/ondram-ci-detector)[chellem/youtube-downloader

PHP library to download video

686.2k](/packages/chellem-youtube-downloader)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
