hypejunction/hypesatis

This package is abandoned and no longer maintained. No replacement package was suggested.

Elgg-based satis composer repository

1.0.5 2019-07-09 08:03 UTC

This package is not auto-updated.

Last update: 2020-01-18 13:41:23 UTC


README

Allows hosting composer repository with private repositories as part of the Elgg site.

Satis Build

To build Satis composer repository:

vendor/bin/elgg-cli satis:build

You may want to configure a cron job to run this command to pull in new versions of packages at a given interval.

Client Setup

Clients are users accessing packages in the your satis repository.

First, add username and password of the Elgg account to the client server:

composer global config http-basic.{{host}} {{username}} {{password}}

In composer.json of the client project add:

{
    "repositories": [
        {
            "type": "composer",
            "url": "https://{{host}}/satis"
        }
    ]
}
  • {{host}} is the hostname of your Elgg installation
  • {{username}} is the username of the Elgg user
  • {{password}} is the password of the Elgg user