karsa-mistmere/composer-gitlab-dotenv-token

Installs: 106

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:composer-plugin

pkg:composer/karsa-mistmere/composer-gitlab-dotenv-token

v1.0.3 2022-02-16 09:38 UTC

This package is not auto-updated.

Last update: 2026-01-02 13:23:24 UTC


README

A simple composer plugin that loads private Gitlab deploy tokens for composer repositories from environment variables.

Usage:

composer require karsamistmere/composer-gitlab-dotenv-token

In your environment variables add:

GITLAB_TOKEN={"gitlab.com": "privatetoken"}

or

GITLAB_TOKEN={"gitlab.com": {"username": "gitlabuser", "token": "privatetoken"}}

or

GITLAB_TOKEN_HOST=gitlab.com
GITLAB_TOKEN_USERNAME=gitlabuser
GITLAB_TOKEN_TOKEN=privatetoken