A GitLab Composer repository that indexes all projects with composer.json files across branches and tags.
GitLab Composer repository is a script that creates a private Composer package repository by indexing all projects within a GitLab installation that contain `composer.json` files. It scans branches and tags across all projects, building a package index similar to Packagist.org but for internal use. This solves the problem of managing private PHP dependencies within organizations using GitLab.
PHP developers and teams using GitLab who need to manage private Composer packages internally. Organizations requiring a self-hosted alternative to Packagist for proprietary code.
Developers choose this project because it provides a lightweight, self-hosted Composer repository solution specifically designed for GitLab environments. It offers Packagist-like functionality without external dependencies, with simple configuration and automatic package discovery across all projects.
Gitlab Composer repository
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Scans all branches and tags across GitLab projects to detect composer.json files, automating package discovery without manual setup, as highlighted in the key features.
Mimics Packagist.org's functionality, ensuring compatibility with standard Composer workflows and providing a familiar interface for private repositories.
Requires only basic steps like installing dependencies, copying a config file, and setting up a web server alias, per the installation instructions.
Allows enabling package name mismatches via a setting in gitlab.ini, preventing errors from copied composer.json files, as explained in the usage section.
The package index is publicly listed by default, posing a security risk for proprietary code, as admitted in the caveats section of the README.
Lacks built-in mechanisms to protect the package list itself, relying on GitLab's project-level security and pointing to Satis for better solutions.
Requires additional configuration like setting up cache directories and web server aliases (e.g., .htaccess), which can be complex for non-sysadmin users.
GitLab-Composer is an open-source alternative to the following products:
Satis is a static Composer repository generator for PHP projects, allowing teams to host private packages and manage dependencies without relying on external package repositories.
Packagist is the main Composer repository for PHP packages, serving as the default package source for dependency management in PHP projects.