{"id":14971310,"url":"https://github.com/zacksleo/yii2-gitlab-error-behavior","last_synced_at":"2025-10-26T15:30:22.841Z","repository":{"id":57089047,"uuid":"85786180","full_name":"zacksleo/yii2-gitlab-error-behavior","owner":"zacksleo","description":"send error to gitlab for yii","archived":false,"fork":false,"pushed_at":"2017-08-25T02:19:44.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T20:55:51.285Z","etag":null,"topics":["gitlab","yii2","yii2-behaviors","yii2-extension","yii2-gitlab-error"],"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/zacksleo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-22T04:50:31.000Z","updated_at":"2021-01-12T03:30:12.000Z","dependencies_parsed_at":"2022-08-20T16:00:45.359Z","dependency_job_id":null,"html_url":"https://github.com/zacksleo/yii2-gitlab-error-behavior","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-gitlab-error-behavior","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-gitlab-error-behavior/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-gitlab-error-behavior/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-gitlab-error-behavior/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zacksleo","download_url":"https://codeload.github.com/zacksleo/yii2-gitlab-error-behavior/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238347896,"owners_count":19457012,"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","yii2","yii2-behaviors","yii2-extension","yii2-gitlab-error"],"created_at":"2024-09-24T13:45:00.361Z","updated_at":"2025-10-26T15:30:22.022Z","avatar_url":"https://github.com/zacksleo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yii2-gitlab-error-behavior\nsend error to gitlab for yii\n\n\n[![Latest Stable Version](https://poser.pugx.org/zacksleo/yii2-gitlab-error-behavior/version)](https://packagist.org/packages/zacksleo/yii2-gitlab-error-behavior)\n[![Total Downloads](https://poser.pugx.org/zacksleo/yii2-gitlab-error-behavior/downloads)](https://packagist.org/packages/zacksleo/yii2-gitlab-error-behavior)\n[![StyleCI](https://styleci.io/repos/85786180/shield)]()\n[![Build Status](https://travis-ci.org/Graychen/yii2-gitlab-error-behavior.svg?branch=master)](https://travis-ci.org/Graychen/yii2-gitlab-error-behavior)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Graychen/yii2-gitlab-error-behavior/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Graychen/yii2-gitlab-error-behavior/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/Graychen/yii2-gitlab-error-behavior/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/Graychen/yii2-gitlab-error-behavior/?branch=master)\n[![Code Climate](https://img.shields.io/codeclimate/github/Graychen/yii2-gitlab-error-behavior.svg)]()\n[![Build Status](https://scrutinizer-ci.com/g/Graychen/yii2-gitlab-error-behavior/badges/build.png?b=master)](https://scrutinizer-ci.com/g/Graychen/yii2-gitlab-error-behavior/build-status/master)\n\n\n## Usage\n\n\n### Install By Composer\n\n```\n  composer require zacksleo/yii2-gitlab-error-behavior --prefer-dist \n  \n```\n\n### set component\n\n```\n    'errorHandler' =\u003e [\n        'errorAction' =\u003e 'site/error',\n    ],\n\n```\n### set behavior in SiteController\n\nset apiRoot, privateToken and projectName\n\n```\n    public function behaviors()\n    {\n        return [\n            'behaviors' =\u003e [\n                'class' =\u003e ErrorBehavior::className(),\n                'apiRoot' =\u003e 'http://gitlab.com/api/v3/',\n                'privateToken' =\u003e 'privateToken',\n                'projectName' =\u003e 'demo/project'\n            ]\n        ];\n    }\n    \n```\n\n## Screenshot\n\n![](http://ww1.sinaimg.cn/large/675eb504gy1fe0mhspoo6j212706vabc.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacksleo%2Fyii2-gitlab-error-behavior","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzacksleo%2Fyii2-gitlab-error-behavior","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacksleo%2Fyii2-gitlab-error-behavior/lists"}