For the complete documentation index, see llms.txt. This page is also available as Markdown.

Collection

Extracts data from any iterable item. It accepts arrays or traversables objects. The collection items must be associative arrays.

$etl->extract('collection', $iterable, $options);

Tip: Using generators will decrease memory usage.

Options

Columns

Columns from the iterable item that will be extracted.

Type

Default value

array

null

$options = ['columns' => ['id', 'name', 'email']];

Last updated