Control and secure your Composer dependencies
Cloudsmith gives PHP teams a fully managed, private Composer repository with built-in security scanning, granular access controls, and upstream proxying - so you always know exactly what is flowing into your builds.
Composer, plus 30 other formats. Cloudsmith is a secure store for all your packages, containers, and artifacts.
- Use Composer + 30 other formats in one platform
- Store PHP packages alongside Docker images, npm modules, and any other artifacts your stack needs
- Proxy and cache Packagist and other upstream registries so your builds never depend on external availability
How we support Composer
Why teams choose Cloudsmith for Composer
Signs you're ready to switch to Cloudsmith for Composer
Get started with Composer on Cloudsmith
Frequently asked questions
Yes. Cloudsmith implements the full Composer repository protocol. You add your repository URL to the repositories section of your composer.json and authenticate using an API key - the same workflow you use with any Composer-compatible registry.
You can upload packages via the Cloudsmith CLI using the push composer command, or through the web UI. Cloudsmith also accepts .phar and zip archive formats. Contextual setup instructions with pre-configured snippets are available directly inside each repository.
Yes. You can configure Cloudsmith as an upstream proxy for Packagist and other Composer registries. Packages are cached at the edge so your builds stay fast and resilient even if public registries are unavailable.
Yes. Every package uploaded to Cloudsmith is scanned for CVEs. You can build policies to quarantine or block packages that breach defined risk thresholds, and receive alerts when new vulnerabilities are detected in packages already in your repositories.
Cloudsmith supports API key authentication via HTTP headers in composer.json, as well as OIDC for CI/CD pipelines that support keyless auth. For teams, you can enforce SAML SSO and provision users via SCIM so access is always tied to your identity provider.
Yes. All Cloudsmith repositories are multi-format. You can store Composer packages alongside Docker images, npm packages, Python wheels, and any other format your stack uses - all with consistent access controls and a single audit trail.
Yes. Because Cloudsmith implements the standard Composer repository protocol, migration is straightforward. Update your repository URL in composer.json, upload your private packages, and configure any upstream proxies. No custom tooling or workflow changes are required.
Cloudsmith gives you role-based permissions at the repository and package level. You can create scoped API keys with read-only or write access, integrate with your identity provider via SAML SSO, and automate provisioning with SCIM. Every action is recorded in the audit log.
Yes. You can set a Cloudsmith repository to public, private, or open-source visibility. Public repositories are accessible without authentication, making Cloudsmith a viable option for teams distributing open-source PHP packages.
Cloudsmith is built for high availability with redundancy across regions and a CDN-backed delivery network with 600 edge points of presence. For upstream-proxied packages, cached copies remain available to your builds even if the original upstream registry is unreachable.