PHPackages                             trilobit-gmbh/contao-zipuploads-bundle - 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. trilobit-gmbh/contao-zipuploads-bundle

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

trilobit-gmbh/contao-zipuploads-bundle
======================================

Contao 4 / Contao 5 zipuploads bundle

3.0.0(4mo ago)21.3k[1 issues](https://github.com/trilobit-gmbh/contao-zipuploads-bundle/issues)LGPL-3.0-or-laterPHPPHP ^8.0

Since Jul 5Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/trilobit-gmbh/contao-zipuploads-bundle)[ Packagist](https://packagist.org/packages/trilobit-gmbh/contao-zipuploads-bundle)[ RSS](/packages/trilobit-gmbh-contao-zipuploads-bundle/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (8)Versions (21)Used By (0)

Zipuploads bundle
=================

[](#zipuploads-bundle)

With the Zipuploads bundle it is possible to put all the uploaded files of a form into a single ZIP. It does not matter if it's the Contao Standard Uploader or the fineuploader by terminal42 (). The upload fields themselves do not have to be updated and configured in addition.

The Zipuploads bundle adds "file upload settings" to the form properties. There is then the option "summarize uploads in a ZIP". If this is set, the file name and storage location can be determined. The file name can be customized using simple tokens.

Various simple tokens are available for this purpose:

```
##rand##: Random string via PHP function "uniqid('', true)"
##date##: current date analogous to Contao settings
##time##: current time analogous to Contao settings
##datim##: current date and time analogous to Contao settings
as well as all form fields through ##form_*##

```

If the option "Get existing files" is set, a suffix will be added to the ZIP file, similar to the Contao core functionality.

The ZIP is then available as a simple token, e.g. available in the Notification Center at

```
##form_autogeneratedZippedUploadsFile##.
##form_autogeneratedZippedUploads##.

```

This allows the file path and name of the ZIP to be output in a notification or the ZIP in question to be attached to the e-mail.

### Notification-Center 2

[](#notification-center-2)

With Notification Center 2 (NC2), the name of the ZIP file is displayed in `##form_autogeneratedZippedUploadsFile##` and the voucher for the attachment is displayed in `##form_autogeneratedZippedUploads##`. Adjustments to the notification are only necessary if the name of the ZIP file is displayed as text (or is to be provided as a download link).

Zipuploads Bundle
=================

[](#zipuploads-bundle-1)

Mit dem Zipuploads Bundle ist es möglich, alle hochgeladenen Dateien eines Formulares in ein einzelnes ZIP zu packen. Dabei ist es egal, ob es der Contao-Standard-Uploader oder der fineuploader von terminal42 () ist. Die Upload-Felder selbst müssen nicht angepasst und ergänzend konfiguriert werden.

Mit dem Zipuploads Bundle werden "Datei-Upload-Einstellungen" zu den Formular-Eigenschaften hinzugefügt. Dort gibt es dann die Option "Uploads in einem ZIP zusammenfassen". Ist diese gesetzt, können Dateiname und Ablageort bestimmt werden. Der Dateiname kann über Simple-Tokens individualisiert werden.

Hierzu stehen verschiedene Simple-Tokens zur Verfügung:

```
##rand##: Zufälliger String via PHP-Funktion "uniqid('', true)"
##date##: aktuelles Datum analog Contao-Einstellungen
##time##: aktuelle Uhrzeit analog Contao-Einstellungen
##datim##: aktuelles Datum und Uhrzeit analog Contao-Einstellungen
sowie alle Formularfelder über ##form_*##

```

Ist die Option "Bestehende Dateien erhalten" gesetzt, wird an die ZIP-Datei ein Suffix analog der Contao-Core-Funktionalität gehängt.

Das ZIP steht im Anschluss als Simple-Token z.B. im Notification-Center zur Verfügung unter

```
##form_autogeneratedZippedUploadsFile##.
##form_autogeneratedZippedUploads##.

```

Damit kann der Dateipfad und -Name des ZIP in einer Benachrichtigung ausgegeben werden bzw. das fragliche ZIP an die E-Mail angehängt werden.

### Notification-Center 2

[](#notification-center-2-1)

Unter dem Notification-Center 2 wird in `##form_autogeneratedZippedUploadsFile##` der Name der ZIP-Datei ausgegeben und in `##form_autogeneratedZippedUploads##` der Voucher für das Attachment. Anpassungen in der Benachrichtigung sind hier nur notwendig, wenn der Name der ZIP-Datei als Text ausgegeben wird (oder als Download-Link zur Verfügung gestellt werden soll).

Screenshots
===========

[](#screenshots)

[![](docs/images/Formulareigenschaften.png)](docs/images/Formulareigenschaften.png)Formular-Eigenschaften

[![](docs/images/Notification-Center.png)](docs/images/Notification-Center.png)Notification-Center

Installation
============

[](#installation)

Install the extension via composer: [trilobit-gmbh/contao-zipuploads-bundle](https://packagist.org/packages/trilobit-gmbh/contao-zipuploads-bundle). And update your database.

Compatibility
-------------

[](#compatibility)

- Contao version ~4.13
- Contao version ~5.0

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance68

Regular maintenance activity

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~130 days

Recently: every ~90 days

Total

20

Last Release

123d ago

Major Versions

1.1.0 → 2.0.02023-01-09

2.3.1 → 3.0.02026-04-10

PHP version history (4 changes)1.0.0PHP ^7.0

1.1.0PHP ^7.3 || ^8.0

2.3.0PHP ^7.4 || ^8.0

3.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7868402?v=4)[trilobit-gmbh](/maintainers/trilobit-gmbh)[@trilobit-gmbh](https://github.com/trilobit-gmbh)

---

Top Contributors

[![trilobit-gmbh](https://avatars.githubusercontent.com/u/7868402?v=4)](https://github.com/trilobit-gmbh "trilobit-gmbh (57 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/trilobit-gmbh-contao-zipuploads-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/trilobit-gmbh-contao-zipuploads-bundle/health.svg)](https://phpackages.com/packages/trilobit-gmbh-contao-zipuploads-bundle)
```

###  Alternatives

[metamodels/core

MetaModels core

10156.6k68](/packages/metamodels-core)[heimrichhannot/contao-pwa-bundle

A bundle to provide progressive web app support for contao.

101.2k](/packages/heimrichhannot-contao-pwa-bundle)[markocupic/calendar-event-booking-bundle

Contao Calendar Event Booking Bundle

125.3k1](/packages/markocupic-calendar-event-booking-bundle)

PHPackages © 2026

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