Skip to content

Git Host

Documentation for developers using the Git Host module: reading repositories from GitHub and GitLab hosts, and adding other kinds of hosts. The README covers installing it and adding a token for each host.

  • Using the API: reading files, releases, branches and other endpoints with the git_host.api service, keys in code and configuration, errors and caching.
  • Writing a provider: a Git provider plugin for another kind of host.
  • API reference: the module's classes.
  • Hooks: hook_git_provider_info_alter().