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↓80%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 2w 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 52% 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

1994d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/424343?v=4)[Sergey Linnik](/maintainers/linniksa)[@linniksa](https://github.com/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

[symfony/runtime

Enables decoupling PHP applications from global state

74794.9M942](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M527](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2124.0M194](/packages/drupal-core-project-message)[sandersander/composer-link

Adds ability to link local packages for development with composer

94441.4k](/packages/sandersander-composer-link)[phpro/grumphp-shim

GrumPHP Phar distribution

284.6M333](/packages/phpro-grumphp-shim)[lullabot/drainpipe

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

41759.2k3](/packages/lullabot-drainpipe)

PHPackages © 2026

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