PHP Class to retrieve details about federal open source code hosted on GitHub
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Federal Open Source Repositories PHP Class

Class to retrieve federal open source code hosted on GitHub


Instantiate the class

$gh = new Federal_Open_Source_Repos();

Get a specific agencies repos


Get all federal repos


Returns an array of repository objects, as returned from the GitHub API

See for additional information

Contributing to the Project

  1. Fork the project using the "fork" button in the top-right corner
  2. Create a new branch
  3. Make changes
  4. Commit, push
  5. Visit your repository's page to submit a pull request

Note: By contributing to this project, you do so under the terms of the GNU General Public License v2 or later.