---
id: gk-gravitymigrate-import-max-packaged-files
title: "Filter - gk/gravitymigrate/import/max-packaged-files"
sidebar_label: "gk/gravitymigrate/import/max-packaged-files"
---

# Filter: gk/gravitymigrate/import/max-packaged-files

Filters how many packaged files an import will unpack from one bundle.

Each entry is capped individually, but nothing caps their number: staging is a single synchronous request with no chunking and no resume, so a bundle declaring a hundred thousand entries either fills the disk or times out half-written.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $max | `int` | Entry cap. |

### Since

- %ver%: %ver%

### Source

Defined in `src/Import.php` at line 6919

