Download Authenticated Zip from Magento Repo.

Language: Bash
Author: Kaiss Bouali
Comments: 0
Useful:

Code:

Details:

Your Ad Here

Solution:

Yes, you can use composer to download the zip file without authentication, given that you have already authenticated with Magento repo according to your description. Here is an example command to achieve this:


composer archive --format=zip --dir=path/to/installed/package destination.zip vendor/package
This command will create a zip file named `destination.zip` at the current working directory, containing the downloaded archive of the `vendor/package` package installed in `path/to/installed/package`. You can replace these placeholders with the actual values in your case.

You can learn more about the `archive` command from the [official Composer documentation](https://getcomposer.org/doc/03-cli.md#archive).


Comments:

Login to leave your comments!