- πΊπΈUnited States hotwebmatter Providence, Rhode Island, USA
pebosi β commented 14 January 2021 at 07:58 [ #10 π¬ Local mirrror of packages.drupal.org in Artifactory Postponed: needs info ]
I had the same problem using sonatype and packages.drupal.org and i solved it using another solution: building a static repository with composer/satis mirroring packages.drupal.org.
Looking into this possibility for my organization now, and sharing some resources as a breadcrumb trail for others to follow:
Open-source options for self-hosted Composer repositories
Satis repository manager and Satisfy UI:
- Handling private packages > Satis (official Composer documentation)
composer/satis
README.md (official Satis GitHub repository)project-satisfy/satisfy
README.md (Satisfy: Satis Composer repository manager with a simple web UI)eventum/composer
README.md (Reference implementation of a static Composer repository provided by Satisfy)- Setting up and securing a private Composer repository (article by Alex Vanderbist of Spatie)
- Private Satis authentication backed by Laravel (Part two of the article linked above; focus on the "securing" part)
Packeton (Satis fork):
- Official Packeton documentation
vtsykun/packeton
README.md
Hopefully, these resources will help others who need to host a private repository to mirror PHP/Composer packages and metadata, but cannot use jFrog Artifactory due to the bug documented here.