2017 © Pedro PelĂĄez
 

spress-plugin github-metadata-plugin

Github metadata of a repository

image

spress/github-metadata-plugin

Github metadata of a repository

  • Sunday, November 19, 2017
  • by yosymfony
  • Repository
  • 2 Watchers
  • 1 Stars
  • 29 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Github metadata of a repository

Spress 2 ready, (*1)

Access to site.github for getting a repository's metadata., (*2)

Requires:, (*3)

  • Spress >=2.0.0
  • PHP cURL extension.

If you are using Spress 1.x, go to 1.0.0 version of the plugin., (*4)

How to install?

Go to your site folder and input the following command:, (*5)

spress add:plugin spress/github-metadata-plugin

How to use?

Add the following to your config.yml:, (*6)

#Your repository name:
repository: "spress/spress"

 Access to repository's metadada

  • Stargazers count: site.github.stargazers_count.
  • Watchers count: site.gihub.watchers_count.
  • Forks count: site.github.forks_count.

See Github repos API., (*7)

Another metadata keys:, (*8)

  • name
  • full_name
  • description
  • fork
  • html_url
  • clone_url
  • git_url
  • ssh_url
  • mirror_url
  • homepage
  • size
  • default_branch
  • open_issues_count
  • has_issues
  • has_pages
  • has_downloads
  • pushed_at
  • created_at
  • updated_at
Contributors metadata

Access to site.github.contributors for getting an array with contributors metadata., (*9)

See Github repos API., (*10)

  • login
  • avatar_url
  • html_url
  • type
  • contributions
Owner metada

Access to site.github.owner for getting owner metadata., (*11)

  • login
  • avatar_url
  • gravatar_id
  • html_url
Organization metadata

Access to site.github.organization for getting organization metadata., (*12)

  • login
  • avatar_url
  • html_url
Source metadata

Access to site.github.source for getting source metadata., (*13)

  • name
  • full_name
  • description
  • html_url
  • clone_url
  • git_url
  • ssh_url
  • svn_url
  • mirror_url
  • homepage
  • forks_count
  • stargazers_count
  • watchers_count
  • size
  • default_branch
  • open_issues_count
  • has_issues
  • has_wiki
  • has_pages
  • has_downloads
  • pushed_at
  • created_at
  • updated_at

License

This plugin is available as open source under the terms of the MIT License., (*14)

The Versions

19/11 2017

dev-master

9999999-dev http://spress.yosymfony.com

Github metadata of a repository

  Sources   Download

MIT

The Requires

 

plugin metadata github spress

02/01 2016

v2.0.0

2.0.0.0 http://spress.yosymfony.com

Github metadata of a repository

  Sources   Download

MIT

The Requires

 

plugin metadata github spress

20/11 2015

v1.0.0

1.0.0.0 http://spress.yosymfony.com

Github metadata of a repository

  Sources   Download

MIT

The Requires

 

plugin metadata github spress