CrudAdmin packages are no longer downloaded from Packagist and GitHub. Both CrudAdmin 6 and CrudAdmin 5 are distributed from the private composer repository packages.crudadmin.com. Existing CrudAdmin 5 projects keep working until composer has to download the packages again, for example on a new server, in CI, or after the composer cache is cleared. Then the installation fails, because the old download links point to GitHub. Follow the steps below once in every CrudAdmin 5 project.
CrudAdmin 5 stays under the MIT license. Nothing changes in the code of your project, and the license_key in config/admin.php stays the same. Only the place composer downloads the packages from changes.

What changes

1. Add the repository

Add packages.crudadmin.com to composer.json of the project:
composer.json
Or with composer:
Keep the CrudAdmin 5 constraint in require, for example "crudadmin/crudadmin": "^5.0".

2. Store the credentials

CrudAdmin 5 projects use a shared CrudAdmin 5 access. It is public, and it can download only CrudAdmin 5 versions.
auth.json
Never put the credentials into composer.json or any other versioned file.
Store them in one of these places: The same credentials can be stored with composer. Use --global for all projects on the computer:
On a server or in CI:
See storing the credentials for more details about each option.

3. Update composer.lock

composer.lock still contains the old GitHub download links. Update the CrudAdmin packages once, so the lock file points to packages.crudadmin.com:
Composer keeps the versions allowed by your constraints. Check that the lock file uses the new repository:
The command prints one link for each of the three packages. Commit the updated composer.lock.

4. Update your servers

Every server and CI job which runs composer install needs the credentials from step 2, usually as COMPOSER_AUTH in the environment of the deployment user. Deploy the updated composer.lock after that.

Troubleshooting

Composer did not find the credentials, or they are not valid. Check that the key in auth.json is exactly packages.crudadmin.com, without https://, and that COMPOSER_AUTH is set in the environment which runs composer.
The credentials do not include the requested major version. The shared CrudAdmin 5 access downloads only CrudAdmin 5, check the constraint in composer.json.
composer.lock still points to GitHub. Run the update from step 3 and deploy the new lock file.
A computer with access to the CrudAdmin GitHub organization can still clone the packages directly from GitHub, and composer silently falls back to it. Other computers can not. Complete all steps, so every environment downloads from packages.crudadmin.com.

Support for older versions

Do you need help with CrudAdmin 5 or an older version? Send your question to sales@gogoldev.com and we will get back to you by e-mail.

Upgrading to CrudAdmin 6

CrudAdmin 6 is commercial software and needs a license of its own, the shared CrudAdmin 5 access does not include it. See License, or contact sales@gogoldev.com.