# Satis Integration

# Setting up this repository in your projects

Add this Composer repository to your project's composer.json file, then you can require these private packages just like you would with one from Packagist.

{
  "repositories": [{
    "type": "composer",
    "url": "https://satis.appetiserdev.tech"
  }]
}

# Authentication in auth.json per project

Add auth.json file in the same folder as the projects' composer.json file.

Note: Make sure the auth.json file is in .gitignore to avoid leaking credentials.

# Global authentication credentials

If you don’t want to set this up for every project, you can store this credentials globally. Just create and add auth.json file into your composer home directory.

# Gitlab Token

Since our packages are hosted in gitlab, you need to create personal access token (opens new window) in order to install our private packages.

There are also other ways to generate an access token, like Project access token (opens new window) or Group Access token (opens new window)

Add the access token that you got from gitlab.

Your auth.json file should look like the following:

{
    "gitlab-token" : {
        "gitlab.com" : "Your gitlab token goes here"
    }
}

#

# Wrapping it up

Once you have the authentication set up. You are now ready to install our packages.

composer require appetiser/* *

Head to our satis repository (opens new window) for the complete list of amazing library build by our amazing devs.