eZGithub

UNIX name Owner Status
eZGithub 7x stable
Version Compatible with
N/A N/A
This extension allow you to list gists and repositories from Github to your eZ Publish website. It could display informations about users too.

eZGithub

A companion extension for accessing your datas within eZ Publish.

Requirements

This extension need the following modules :

  • php_curl

Configuration

Configuration is made in ezgithub.ini. Please take a look at the original file in the settings folder of this extension.

Features

User informations

You can access user informations by using this URL :

/github-user/show

or

/github-user/show/username

or within a template :

{def $content = fetch(github-user, content, hash(username, $username))}

Repositories (projects)

List all projects for a given user

Get the list of all the projects for a given user with the following module and view :

/github-project/list

or

/github-project/list/username

or within a template :

{def $list = fetch(github-project, list, hash(username, $username))}

Get all the informations about a repository (project)

Get the informations about a project with the following URL :

/github-project/show/username/projectname

or (if you want to use the configured username in INI file)

/github-project/show/projectname

or within a template :

{def $content = fetch(github-project, content, hash(username, $username, project, $project))}

Gists

Get all the gists for a given user
{def $gists = fetch(gist, list)}

Get all informations about a Gist
{def $content = fetch(gist, content, hash(gist_id, $gist_id))}

Informations

License

This extension is under GNU/GPL v3 : View the license.

API

This extension is currently based on : API v3.

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.