I didn't know that satis would install all the versions of the packages inside it so basically this is my satis.json file
{
"name" :"offline-packages/satis-packages",
"description":"Offline Packages Generator",
"homepage": "https://localhost:3200",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/akaunting/money.git"
},
{
"type": "vcs",
"url": "https://github.com/beyondcode/laravel-confirm-email.git"
},
// ... more repositories here
{
"type": "vcs",
"url": "https://github.com/webpatser/laravel-countries.git"
}],
"require-all": true,
"require-dependencies": true,
"require-dev-dependencies": true,
"archive": {
"directory": "dist"
}
}
But what I want is to install only specific versions based on what is higher than a specific version and not all of them before I build it with
php bin/satis build satis.json web/
You have specified
require-all: true.If you do not want to require all, but to pick specific versions, you need to add the appropriate
requirekey in your configuration.From the docs:
The example they provide in the docs should be clear enough: