This command is used to generate a zip/tar archive for a given package in a given version. It can also be used to archive your entire project without excluded/ignored files.
Examplephp composer.phar archive vendor/package 2.0.21 --format=zip
php composer.phar archive vendor/package 2.0.21 --format=zip
DevOpsSchoolTypically replies within an hour