How To Fetch Files or Repo From Private Repository packagist.com or repo.packagist.com

To configure files or repo from rom Private Repository packagist.com https://packagist.com follow below steps.

Step [1] –Login in rom Private Repository packagist.com by using your Butbucket / Github / GitLab

Run on root directory of your Magento 2 / Adobe Commerce

composer install

Step [2] – One logged inside, private repository https://packagist.com/

Go To Setup Authentication >> Composer Config Command

on the root directory of your Magento Clone Files run below command

composer config --global --auth http-basic.repo.packagist.com "Your Name" packagist_uut_kt4yti5vqgkuebbx0iyzlhdmf3amp6owr2ojlsxzu8vfeasn17cnjwgr

This command will create auth.json with username & password setup of packagist.com(repo.packagist.com) & fetch all stored packages in your local

Step [3] – Once step2 done check auth.json created with proper values from repo.packagist.com

Step [4] – Run composer install again

composer install 

Now all packages from Private Repository (packagist.com) or repo.packagist.com will be downloaded properly.

Leave a Reply

Your email address will not be published. Required fields are marked *