{"id":15880983,"url":"https://github.com/baraja-core/gitlab-api","last_synced_at":"2026-03-03T18:32:36.501Z","repository":{"id":48404081,"uuid":"213910418","full_name":"baraja-core/gitlab-api","owner":"baraja-core","description":"Simple and robust GitLab API wrapper with Tracy debug mode.","archived":false,"fork":false,"pushed_at":"2024-07-10T04:37:46.000Z","size":266,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-24T01:09:01.377Z","etag":null,"topics":["gitlab-api","gitlab-tracy-panel","konfigurace","nette"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baraja-core.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"janbarasek","custom":["https://baraja.cz","https://php.baraja.cz","https://vue.baraja.cz"]}},"created_at":"2019-10-09T12:17:55.000Z","updated_at":"2021-12-11T10:52:44.000Z","dependencies_parsed_at":"2022-09-21T21:00:42.622Z","dependency_job_id":null,"html_url":"https://github.com/baraja-core/gitlab-api","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/baraja-core/gitlab-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baraja-core%2Fgitlab-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baraja-core%2Fgitlab-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baraja-core%2Fgitlab-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baraja-core%2Fgitlab-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baraja-core","download_url":"https://codeload.github.com/baraja-core/gitlab-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baraja-core%2Fgitlab-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30054602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gitlab-api","gitlab-tracy-panel","konfigurace","nette"],"created_at":"2024-10-06T03:23:18.201Z","updated_at":"2026-03-03T18:32:36.462Z","avatar_url":"https://github.com/baraja-core.png","language":"PHP","readme":"GitLab API for Nette\n====================\n\n![Integrity check](https://github.com/baraja-core/gitlab-api/workflows/Integrity%20check/badge.svg)\n\nThis package serves as a transport layer between a specific application and GitLab.\n\nWith this package, you can easily submit queries to GitLab, detect error messages in the Tracy bar, and monitor request load.\n\nRequests of type `GET` are automatically cached for `12 hours` unless told otherwise.\n\nRequests like `POST`, `PUT`, `DELETE` and other change actions are not cached at all and we always retransmit all data.\n\n![GitLab Tracy panel](/src/gitlab-api-tracy.png \"GitLab Tracy panel\")\n\nInstallation\n---------\n\nUse the Composer command:\n\n```shell\ncomposer require baraja-core/gitlab-api\n```\n\nNext, you need to set the service configuration for Nette in the NEON file.\n\nDefault minimum configuration:\n\n```yaml\nservices:\n   gitLabAPI:\n      factory: baraja\\GitLabApi\\GitLabApi(%gitLab.token%)\n\nparameters:\n   gitLab:\n      token: 123-abcDEFghiJKL-789\n\ntracy:\n   bar:\n      - Baraja\\GitLabApi\\GitLabApiPanel\n```\n\nYou must always change the API token for your user account!\n\nConfiguration\n-----------\n\nIn the `parameters` section, you need to enter the default API token to connect to GitLab:\n\nExample:\n\n```yaml\nparameters:\n   gitLab:\n      token: 123-abcDEFghiJKL-789\n```\n\nOptionally, you can set to use Nette Cache:\n\n```yaml\nservices:\n   gitLabAPI:\n      factory: baraja\\GitLabApi\\GitLabApi(%gitLab.token%)\n      setup:\n         - setCache(@cache.storage)\n```\n\nLinking to a custom GitLab installation\n------------------------------------\n\nIn some cases, you need to link the API to the internal corporate network where GitLab is hosted. This is done by using the `setBaseUrl()` method with a domain path.\n\nThe passed parameter can be, for example, the string `'https://gitlab.com/api/v4/'`.\n","funding_links":["https://github.com/sponsors/janbarasek","https://baraja.cz","https://php.baraja.cz","https://vue.baraja.cz"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaraja-core%2Fgitlab-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaraja-core%2Fgitlab-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaraja-core%2Fgitlab-api/lists"}