thisisdevelopment/git-manager

Provides a uniform api to access and manage repositories / team / users for all major git platforms (github/gitlab/gitea/bitbucket)

0.3.2 2023-07-13 09:00 UTC

This package is auto-updated.

Last update: 2024-04-13 10:54:53 UTC


README

Currently this library is in alpha and it's api should not be considered stable.

The following backends are implemented

  • Gitlab
  • Gitea
  • Github
  • Bitbucket

Supported objects

  • branches
  • tags
  • webhooks
  • users
  • teams
  • repositories
  • files (partial)
$platform = new \ThisIsDevelopment\GitManager\Models\Gitea\GiteaPlatform(['defaultTeamNamespace' => env('GITEA_TEAM'), 'defaultRepoNamespace' => env('GITEA_TEAM'), 'url' => env('GITEA_URI'), 'auth' => env('GITEA_ACCESS_TOKEN')]);
$platform = new \ThisIsDevelopment\GitManager\Models\GitLab\GitLabPlatform(['defaultTeamNamespace' => env('GITLAB_TEAM'), 'defaultRepoNamespace' => env('GITLAB_REPO'), 'url' => env('GITLAB_URI'), 'auth' => env('GITLAB_ACCESS_TOKEN')]);