PHPackages                             sonata-project/composer-archive-creator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sonata-project/composer-archive-creator

AbandonedArchivedProject[Utility &amp; Helpers](/categories/utility)

sonata-project/composer-archive-creator
=======================================

Create archives of a composer.json for latter use in order to speed up install process

11122[1 issues](https://github.com/sonata-project/composer-archive-creator/issues)PHP

Since Nov 7Pushed 12y ago7 watchersCompare

[ Source](https://github.com/sonata-project/composer-archive-creator)[ Packagist](https://packagist.org/packages/sonata-project/composer-archive-creator)[ RSS](/packages/sonata-project-composer-archive-creator/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Composer Archive Creator
========================

[](#composer-archive-creator)

The idea of this project is to create a ready to use archive from a git repository using composer.

Features
--------

[](#features)

- Neutral install (no errors possible due to local changes)
- Download git repository
- Fetch project's dependencies
- Create archives with or without VCS files
- Log
- Alerting on fealure
- Start unit tests on each dependency
- Generate a global JUnit.xml file for all tests
- Generate API documentation (using Sami)

Usages
------

[](#usages)

### Create standard archives

[](#create-standard-archives)

```
php bin/composer-archiver package sonata-sandbox-v1.0.0 git@github.com:sonata-project/sandbox.git test

```

This will create 2 archives :

- sonata-sandbox-v1.0.0.zip : this will contains all files in a zip archive without vcs files
- sonata-sandbox-v1.0.0.tar.gz : this will contains all files in a tarball archive without vcs files

### Create standard archives including VCS files

[](#create-standard-archives-including-vcs-files)

```
php bin/composer-archiver package sonata-sandbox-v1.0.0 git@github.com:sonata-project/sandbox.git test --vcs

```

This will create 4 archives :

- sonata-sandbox-v1.0.0.zip : this will contains all files in a zip archive without vcs files
- sonata-sandbox-v1.0.0\_vcs.zip : this will contains all files in a zip archive with vcs files
- sonata-sandbox-v1.0.0.tar.gz : this will contains all files in a tarball archive without vcs files
- sonata-sandbox-v1.0.0\_vcs.tar.gz : this will contains all files in a tarball archive with vcs files

### Create standard archives including only VCS files

[](#create-standard-archives-including-only-vcs-files)

```
php bin/composer-archiver package sonata-sandbox-v1.0.0 git@github.com:sonata-project/sandbox.git test --only-vcs

```

This will create 2 archives :

- sonata-sandbox-v1.0.0\_vcs.zip : this will contains all files in a zip archive with vcs files
- sonata-sandbox-v1.0.0\_vcs.tar.gz : this will contains all files in a tarball archive with vcs files

### Create zip archive with only VCS files

[](#create-zip-archive-with-only-vcs-files)

```
php bin/composer-archiver package sonata-sandbox-v1.0.0 git@github.com:sonata-project/sandbox.git test --reuse --only-vcs --format=zip

```

This will create 1 archive :

- sonata-sandbox-v1.0.0\_git.zip : this will contains all files in a zip archive with vcs files

Use cases
---------

[](#use-cases)

- create archive for client delivery
- create archive to be download from a website

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b927cd34768f1d619121216a15f3e47641c8f19115a98a60b08f70bb568db812?d=identicon)[webeith](/maintainers/webeith)

---

Top Contributors

[![rande](https://avatars.githubusercontent.com/u/14672?v=4)](https://github.com/rande "rande (21 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (1 commits)")

### Embed Badge

![Health badge](/badges/sonata-project-composer-archive-creator/health.svg)

```
[![Health](https://phpackages.com/badges/sonata-project-composer-archive-creator/health.svg)](https://phpackages.com/packages/sonata-project-composer-archive-creator)
```

###  Alternatives

[arutil/ar-php

Arabic php utilities from Khaled Al-Sham'aa's library http://ar-php.org/

1635.5k](/packages/arutil-ar-php)[vardot/vardoc

Vardoc: Knowledge Base System and Documentation Site

117.2k1](/packages/vardot-vardoc)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
