趋势-github 该软件包是PHP端口 安装 composer require fortecdev/trending-github 用法 require_once __DIR__ . '/vendor/autoload.php' ; use Fortec \ GithubTrending ; $ github = new GithubTrending (); $ data = $ github -> getTrending (); var_dump ( $ data ); /* [ [ 'author' => 'facebook', 'name' =