PHPackages                             agencenous/git-templates - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. agencenous/git-templates

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

agencenous/git-templates
========================

Install GitLab issue templates from a local directory or a remote repository.

1.1.0(1mo ago)067↓100%[1 issues](https://github.com/agencenous/git-templates/issues)GPL-3.0-or-laterPHPPHP &gt;=8.1

Since Apr 3Pushed 1mo agoCompare

[ Source](https://github.com/agencenous/git-templates)[ Packagist](https://packagist.org/packages/agencenous/git-templates)[ RSS](/packages/agencenous-git-templates/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (5)Versions (5)Used By (0)

Git Templates
=============

[](#git-templates)

Tool for creating/syncing issue templates in git projects

**Version: 1.1.0**

Available templates:

- **Default.md**: Template for a feature request (use case, technical description, impacted modules, points of concern, estimations).
- **Incident.md**: Template for a bug

Install
-------

[](#install)

```
composer require agencenous/git-templates --dev
```

Usage
-----

[](#usage)

From the project root:

```
vendor/bin/gitlab-templates
```

Templates are createed in `.gitlab/issue_templates/`.

### Project Directory

[](#project-directory)

The target project directory is defined in this order:

1. Option `--project-dir` / `-d`
2. `composer.json` key `extra.git-templates-project-dir`
3. Environment variable `PROJECT_DIR`
4. Default : current directory

Via composer.json

```
{
   "extra": {
     "git-templates-project-dir": "subdir"
   }
}
```

### Repository Type

[](#repository-type)

The repository type is defined in this order:

1. Option `--repository-type` / `-r`
2. `composer.json` key `extra.git-templates-repository-type`
3. Environment variable `REPOSITORY_TYPE`
4. Default : `gitlab`

Available repository types: `gitlab`, `github`, `gitbucket`.

Template destination by repository type:

- `gitlab` -&gt; `.gitlab/issue_templates`
- `github` -&gt; `.github/ISSUE_TEMPLATE`
- `gitbucket` -&gt; `.gitbucket/issue_templates`

**Examples**

Command line:

```
vendor/bin/git-templates -r github
```

Via environment variable

```
REPOSITORY_TYPE=gitbucket vendor/bin/git-templates
```

Via composer.json

```
{
   "extra": {
     "git-templates-repository-type": "gitlab"
   }
}
```

### Locale

[](#locale)

The locale is defined in this order:

1. Option `--locale` / `-l`
2. `composer.json` key `extra.git-templates-locale`
3. Environment variable `LANGUAGE`
4. Default : `en_US`

Available locales: `fr_FR`, `en_US`.

**Examples**

Command line:

```
vendor/bin/git-templates -l fr_FR
```

Via environment variable

```
LANGUAGE=fr_FR vendor/bin/git-templates
```

Via composer.json

```
{
   "extra": {
     "git-templates-locale": "fr_FR"
   }
}
```

### Options

[](#options)

OptionAliasDescription`--project-dir``-d`Root path of the project (default : `extra.git-templates-project-dir`, then `PROJECT_DIR`, then current directory)`--repository-type``-r`Repository type to use (default : `extra.git-templates-repository-type`, then `REPOSITORY_TYPE`, then `gitlab`)`--locale``-l`Locale to use (default : `extra.git-templates-locale`, then `LANGUAGE`, then `en_US`)Licence
-------

[](#licence)

[GPL-3.0](LICENSE)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance89

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

55d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/711568ddabbb0c5607b7bc77660a2094b8f32514d4a2bafcd2f8bba7caefb4d7?d=identicon)[bastienho](/maintainers/bastienho)

---

Top Contributors

[![bastienho](https://avatars.githubusercontent.com/u/2409849?v=4)](https://github.com/bastienho "bastienho (20 commits)")

---

Tags

gitlabtemplatesgitissues

### Embed Badge

![Health badge](/badges/agencenous-git-templates/health.svg)

```
[![Health](https://phpackages.com/badges/agencenous-git-templates/health.svg)](https://phpackages.com/packages/agencenous-git-templates)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[spatie/laravel-export

Create a static site bundle from a Laravel app

670139.5k6](/packages/spatie-laravel-export)[altis/local-server

Local Server module for Altis

18217.0k2](/packages/altis-local-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
