hypejunction / hypesatis
Elgg-based satis composer repository
Installs: 11
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Type:elgg-plugin
pkg:composer/hypejunction/hypesatis
Requires
- php: >=5.5
- composer/installers: ~1.0
- composer/satis: ^1.0
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