{"id":15963786,"url":"https://github.com/yiiauth/gitlab","last_synced_at":"2025-03-17T22:30:46.445Z","repository":{"id":48642841,"uuid":"133030787","full_name":"yiiauth/gitlab","owner":"yiiauth","description":"GitLab OAuth2 for yii2-authclient","archived":false,"fork":false,"pushed_at":"2024-03-14T07:30:11.000Z","size":9,"stargazers_count":3,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-07T17:01:13.208Z","etag":null,"topics":["gitlab","gitlab-oauth2","oauth2-client","yii2-authclient","yii2-extension"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiiauth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-11T11:21:21.000Z","updated_at":"2021-07-16T07:50:48.000Z","dependencies_parsed_at":"2024-10-07T17:00:32.846Z","dependency_job_id":null,"html_url":"https://github.com/yiiauth/gitlab","commit_stats":{"total_commits":7,"total_committers":4,"mean_commits":1.75,"dds":0.7142857142857143,"last_synced_commit":"c4a8a849b3174220af995653b21597a2192da647"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiiauth%2Fgitlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiiauth%2Fgitlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiiauth%2Fgitlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiiauth%2Fgitlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiiauth","download_url":"https://codeload.github.com/yiiauth/gitlab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221701786,"owners_count":16866238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","gitlab-oauth2","oauth2-client","yii2-authclient","yii2-extension"],"created_at":"2024-10-07T17:00:28.197Z","updated_at":"2024-10-27T15:58:52.617Z","avatar_url":"https://github.com/yiiauth.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yiiauth/gitlab\n\nThis extension adds GitLab OAuth2 supporting for [yii2-authclient](https://github.com/yiisoft/yii2-authclient).\n\n[![Latest Stable Version](https://poser.pugx.org/yiiauth/gitlab/v/stable)](https://packagist.org/packages/yiiauth/vk)\n[![Total Downloads](https://poser.pugx.org/yiiauth/gitlab/downloads)](https://packagist.org/packages/yiiauth/gitlab)\n[![Monthly Downloads](https://poser.pugx.org/yiiauth/gitlab/d/monthly)](https://packagist.org/packages/yiiauth/gitlab)\n[![License](https://poser.pugx.org/yiiauth/gitlab/license)](https://packagist.org/packages/yiiauth/gitlab)\n\n## Installation\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require yiiauth/gitlab\n```\n\nor add\n\n```json\n\"yiiauth/gitlab\": \"~0.1\"\n```\n\nto the `require` section of your composer.json.\n\n## Usage\n\nYou must read the yii2-authclient [docs](https://github.com/yiisoft/yii2/blob/master/docs/guide/security-auth-clients.md)\n\nRegister your application [in GitLab](https://gitlab.com/profile/applications)\n\nand add the GitLab client to your auth clients.\n\n```php\n'components' =\u003e [\n    'authClientCollection' =\u003e [\n        'class' =\u003e yii\\authclient\\Collection::class,\n        'clients' =\u003e [\n               'gitlab' =\u003e [\n                   'class' =\u003e \\yiiauth\\gitlab\\GitLabClient::class,\n                   'domain'  =\u003e 'https://gitlab.com',\n                   'clientId' =\u003e 'gitlab_client_id',\n                   'clientSecret' =\u003e 'gitlab_client_secret',\n               ],\n            // other clients\n        ],\n    ],\n    // ...\n ]\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiiauth%2Fgitlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiiauth%2Fgitlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiiauth%2Fgitlab/lists"}