PHPackages                             timoschinkel/codeowners - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. timoschinkel/codeowners

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

timoschinkel/codeowners
=======================

A parser and matcher for the codeowners file as used by Github, Gitlab and Bitbucket.

2.3.1(1y ago)7276.3k—6.6%5[1 issues](https://github.com/timoschinkel/codeowners/issues)1Apache-2.0PHPPHP ^8.1CI failing

Since Feb 26Pushed 1y ago2 watchersCompare

[ Source](https://github.com/timoschinkel/codeowners)[ Packagist](https://packagist.org/packages/timoschinkel/codeowners)[ RSS](/packages/timoschinkel-codeowners/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (16)Used By (1)

Code owners
===========

[](#code-owners)

Code Owners allows you to parse [code owners files](https://help.github.com/articles/about-codeowners/) and apply the outcome to all kinds of different result sets ranging from code coverage to static analysis results.

Code Owners files are supported by Github, [Gitlab](https://docs.gitlab.com/ee/user/project/code_owners.html) and [Bitbucket](https://marketplace.atlassian.com/apps/1218598/code-owners-for-bitbucket-server?hosting=server&tab=overview).

Installation
------------

[](#installation)

Use [Composer](https://www.getcomposer.org) for installation:

```
composer require timoschinkel/codeowners
```

Usage
-----

[](#usage)

Parse `CODEOWNERS` file:

```
