Bitbucket & GitLab Integration

Synchronization of Users, Teams, Permissions and repositories

Nils Adermann
Mar 6, 2017 · 2 min read

When we launched Private Packagist in December of 2016, it included the minimum feature set we deemed necessary to make it a valuable product to our first customers. But due to Composer’s broad support for version control systems, code hosting platforms and authentication protocols, this meant Private Packagist was immediately compatible with all the same systems and platforms, namely Git, Mercurial or Subversion using SSH access, HTTP Basic Auth over SSL, or their native protocols.

To simplify the initial setup and maintenance of a Private Packagist account, we launched with optional synchronization for GitHub organizations. This integration keeps teams, their members, and access permissions in sync with a matching GitHub organization. So you only need to manage users and permissions in a single place.

Synchronization is now available for Bitbucket and GitLab users!

Please give it a try and send us your feedback, we’d love to better understand if it helps or how it could be made even more useful for you specifically.


As of last week, you can use your Bitbucket.org or GitLab.com user accounts to log into Private Packagist at packagist.com. If you already have an account you can connect these services to your existing account on your profile page.

You can then either create a new organization directly synchronized from a Bitbucket Team or a GitLab Group, or you can enable synchronization for an existing Organization in Settings.

Apart from synchronizing teams, users, and permissions, setting up the integration will simplify the addition of new packages to your Composer repository. When you create a new repository on Bitbucket or GitLab it will be added as a Composer package automatically if it contains a composer.json file. If you’d like to add existing repositories as packages, you can do so with the click of a button on the Packages tab in your organization.

Update web hooks notifying Packagist of new code pushes will be installed in the background, and credentials to access the package will be configured automatically.

Head over to https://packagist.com to try Private Packagist for free!

Private Packagist

The Composer package archive as a service for PHP: Private…

Nils Adermann

Written by

Co-Founder of Packagist Conductors & Creator of Composer for PHP

Private Packagist

The Composer package archive as a service for PHP: Private Packagist makes installing your code with Composer faster, more reliable and more convenient than any alternative.

Nils Adermann

Written by

Co-Founder of Packagist Conductors & Creator of Composer for PHP

Private Packagist

The Composer package archive as a service for PHP: Private Packagist makes installing your code with Composer faster, more reliable and more convenient than any alternative.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store