PHPackages                             linniksa/composer-smart-source-url - 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. linniksa/composer-smart-source-url

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

linniksa/composer-smart-source-url
==================================

Helps composer choose the right url for private packages from gitlab

0.5.1(5y ago)152.0k↓75%1MITPHPPHP ~7

Since Nov 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/linniksa/composer-smart-source-url)[ Packagist](https://packagist.org/packages/linniksa/composer-smart-source-url)[ RSS](/packages/linniksa-composer-smart-source-url/feed)WikiDiscussions master Synced 2d ago

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

Composer Smart Source Url
=========================

[](#composer-smart-source-url)

This plugin helps composer choose the right url for private packages (e.g. for gitlab runner) from gitlab (github btw also supported), in conditions when you need to specify ssh url for repository in `composer.json` (e.g. for deployment).

When you specify auth credentials in `auth.json`, the plugin changes the URL scheme from ssh to http(s) on the fly (without touching any files).

Example
=======

[](#example)

Add plugin to you project:

```
composer.phar require-dev linniksa/composer-smart-source-url

```

Add this lines to your `.gitlab-ci.yml`:

```
- >
      echo > auth.json -e '{
        "http-basic":{
          "[YOU DOMAIN]": {
            "username":"gitlab-ci-token",
            "password": "'${CI_JOB_TOKEN}'"
          }
        }
      }'
```

Don't forget to change `[YOU DOMAIN]`.

Thats it, now your private repositories can be easily cloned by gitlab runner

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~438 days

Total

2

Last Release

1947d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/095d86facbec002dab9ec09497251e8d0d287643243ca13d5fac604ea2e52288?d=identicon)[linniksa](/maintainers/linniksa)

---

Top Contributors

[![linniksa](https://avatars.githubusercontent.com/u/424343?v=4)](https://github.com/linniksa "linniksa (3 commits)")[![akuzia](https://avatars.githubusercontent.com/u/11508654?v=4)](https://github.com/akuzia "akuzia (1 commits)")

### Embed Badge

![Health badge](/badges/linniksa-composer-smart-source-url/health.svg)

```
[![Health](https://phpackages.com/badges/linniksa-composer-smart-source-url/health.svg)](https://phpackages.com/packages/linniksa-composer-smart-source-url)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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