PHPackages                             fortecdev/trending-github - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fortecdev/trending-github

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fortecdev/trending-github
=========================

Simple package to get trending repositories on Github.

1.0.0(8y ago)9121MITPHP

Since Dec 19Pushed 8y agoCompare

[ Source](https://github.com/olucode/trending-github)[ Packagist](https://packagist.org/packages/fortecdev/trending-github)[ RSS](/packages/fortecdev-trending-github/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

trending-github
===============

[](#trending-github)

This package is a PHP port of [this module](https://github.com/ecrmnn/trending-github)

Installation
------------

[](#installation)

```
composer require fortecdev/trending-github
```

Usage
-----

[](#usage)

```
require_once __DIR__ . '/vendor/autoload.php';

use Fortec\GithubTrending;

$github = new GithubTrending();

$data = $github->getTrending();

var_dump($data);
/*
[
    [
        'author' => 'facebook',
        'name' => 'react',
        'url' => 'https://github.com/facebook/react',
        'description' => 'A declarative, efficient, and flexible JavaScript library for building user interfaces.',
        'language' => 'JavaScript',
        'stars' => '83,511',
        'forks' => '15,791',
        'starsToday' => '25 stars today'
    ],
    ...
]
*/
```

You can also add time period and language filters.

```
require_once __DIR__ . '/vendor/autoload.php';

use Fortec\GithubTrending;

$github = new GithubTrending("weekly","php");

$data = $github->getTrending();

var_dump($data);
/*
[
    [
        'author' => 'laravel',
        'name' => 'laravel',
        'url' => 'https://github.com/laravel/laravel',
        'description' => 'A PHP Framework For Web Artisans',
        'language' => 'JavaScript',
        'stars' => '36,921',
        'forks' => '12,145',
        'starsToday' => '200 stars this week'
    ],
    ...
]
*/
```

License
-------

[](#license)

The MIT License (MIT)

Copyright (c) 2017 Olumide Falomo

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3117d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24525097?v=4)[Olumide Falomo](/maintainers/olucode)[@olucode](https://github.com/olucode)

---

Top Contributors

[![olucode](https://avatars.githubusercontent.com/u/24525097?v=4)](https://github.com/olucode "olucode (7 commits)")

---

Tags

githubgithub-apitrending-repositoriesgithubtrending

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fortecdev-trending-github/health.svg)

```
[![Health](https://phpackages.com/badges/fortecdev-trending-github/health.svg)](https://phpackages.com/packages/fortecdev-trending-github)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k40](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[roundcube/roundcubemail

The Roundcube Webmail suite

7.1k2.4k3](/packages/roundcube-roundcubemail)

PHPackages © 2026

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