Zum Inhalt

JOHN ITs Private Packagist Repository

Authenicate composer to private packagist

Before you can use our private packages Next you need to add the credentials to our private repository to your global composer configuration:

composer config --global --auth http-basic.repo.packagist.com johnit <FOR-AUTH-TOKEN-SEE-BITWARDEN: packagist.com auth token>

Add private packagist repository to project

PHP packages developed by ourself can be optained using Composer and our private packagist repository.

To use our private packagist in a project you need to add the following repository to your composer.json

{
    "repositories": [
        {"type": "composer", "url": "https://repo.packagist.com/john-it-com/"},
        {"packagist.org": false}
    ]
}

Spaties private packages

Authenticate composer to Spaties private packages

composer config --global --auth http-basic.satis.spatie.be info@big5.de <FOR-PASSWORD-SEE-BITWARDEN: satis.spatie.be>