Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Statamic plugin for pulling basic profile info and repos
PHP
branch: master

This branch is 6 commits behind blainsmith:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
pi.github.php

README.md

Statamic GitHub Plugin

Installing

  1. Download the zip file (or clone via git) and unzip it or clone the repo into /_add-ons/.
  2. Ensure the folder name is github (Github timestamps the download folder).
  3. Enjoy.

Profile Usage

Calling the plugin from the theme is done with {{ github:profile account="blainsmith" gists="yes|no" }}.

Repos Usage

Calling the plugin from the theme is done with:

{{ github:repos account="ericbarnes" }}
    <h2>{{ name }}</h2>
    <p>{{ description }}</p>
    <hr />
{{ /github:repos }}

Single Repo

Calling the plugin from the theme is done with:

{{ github:repo account="ericbarnes" repo="Statamic-GitHub-Plugin" }}
    <h1>{{ name }}</h1>
    <p>{{ description }}</p>
{{ /github:repo }}

For Repos please see github's api docs for full response data

Something went wrong with that request. Please try again.