Programster's Blog

Tutorials focusing on Linux, programming, and open-source

FIx Issue With Satis

I updated my Satis server recently and after running the command satis build /path/to/satis.json, I was getting the following errors:

The contao-legacy/bit3basics * requirement did not match any package    
The contao-legacy/diffiehellman * requirement did not match any package
The contao-legacy/hidepagetitle * requirement did not match any package
The contao-legacy/phpseclib * requirement did not match any package
The contao-legacy/ziparchivecto * requirement did not match any package
The crunchy/crunchysignup * requirement did not match any package
The dayax/collections * requirement did not match any package

It seems that Satis no longer searches through Packagist by default, so you need to add it as one of your repositories in your satis.json config:

{
    "type": "composer",
    "url": "https://packagist.org/"
},

References

Last updated: 12th February 2023
First published: 12th February 2023