PHPackages                             keboola/data-loader - 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. keboola/data-loader

AbandonedArchivedLibrary

keboola/data-loader
===================

Helper to load data in docker sandboxes

1.8.1(5y ago)0540MITPHPPHP &gt;=7.3

Since Jul 22Pushed 2y ago12 watchersCompare

[ Source](https://github.com/keboola/data-loader)[ Packagist](https://packagist.org/packages/keboola/data-loader)[ RSS](/packages/keboola-data-loader/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (9)Versions (72)Used By (0)

Data Loader
===========

[](#data-loader)

Application which loads data from Storage API and stores them in a data folder. It is used to load data to Docker Sandboxes. There are two modes of operation:

- A transformation sandbox is being created - `KBC_CONFIG_ID` and related variables need to be provided.
- A plain sandbox is being created - `KBC_EXPORT_CONFIG` variable needs to be provided.

Usage
-----

[](#usage)

The following environment variables are used for configuration (see .env.template):

- `KBC_EXPORT_CONFIG` - Serialized JSON configuration of input mapping, see [description](https://developers.keboola.com/extend/common-interface/config-file/).
- `KBC_TOKEN` - Storage API token.
- `KBC_DATADIR` - Optional target directory, defaults to `/data/`
- `KBC_RUNID` - Optional RunID, that appends to the log
- `KBC_STORAGEAPI_URL` - Optional Storage API URL, if it's different from `https://connection.keboola.com`
- `KBC_COMPONENT_ID` - optional Id of the transformation component (only for V2 transformations).
- `KBC_CONFIG_ID` - Id of the transformation configuration.
- `KBC_CONFIG_VERSION` - Version of the `KBC_CONFIG_ID` transformation.
- `KBC_ROW_ID` - optional Id of a row of the `KBC_CONFIG_ID` transformation. (only for legacy transformations)
- `KBC_VARIABLE_VALUES_ID` - Optional, id of the variable values (only for v2 transformations)
- `KBC_VARIABLE_VALUES_DATA` - Optional, array of variable values data (only for v2 transforamtions)

Either KBC\_EXPORT\_CONFIG or the combination of `KBC_CONFIG_ID`, `KBC_CONFIG_VERSION`, `KBC_ROW_ID` is required.

Run the loader with `php src/run.php`.

Development
-----------

[](#development)

### Init

[](#init)

```
git clone https://github.com/keboola/data-loader
cd data-loader
docker-compose build
docker-compose run --rm dev composer install

```

### Tests

[](#tests)

Create `.env` file:

```
KBC_TEST_URL=https://connection.keboola.com/
KBC_TEST_TOKEN=

```

Run tests:

```
docker-compose run --rm dev composer ci

```

License
-------

[](#license)

MIT licensed, see [LICENSE](./LICENSE) file.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 54.4% 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 ~24 days

Recently: every ~6 days

Total

65

Last Release

2052d ago

Major Versions

0.10.2 → 1.0.02019-04-22

0.10.4 → 1.0.12019-04-23

PHP version history (2 changes)0.4.0PHP &gt;=7.0

1.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/101dbf2551a0709ddab522f97669f13a2c4cc2d0a1e8d009f3af6ba80accb1a9?d=identicon)[Keboola](/maintainers/Keboola)

---

Top Contributors

[![odinuv](https://avatars.githubusercontent.com/u/4319320?v=4)](https://github.com/odinuv "odinuv (141 commits)")[![pivnicek](https://avatars.githubusercontent.com/u/569139?v=4)](https://github.com/pivnicek "pivnicek (89 commits)")[![ondrejhlavacek](https://avatars.githubusercontent.com/u/497675?v=4)](https://github.com/ondrejhlavacek "ondrejhlavacek (22 commits)")[![Halama](https://avatars.githubusercontent.com/u/903531?v=4)](https://github.com/Halama "Halama (6 commits)")[![ujovlado](https://avatars.githubusercontent.com/u/419849?v=4)](https://github.com/ujovlado "ujovlado (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/keboola-data-loader/health.svg)

```
[![Health](https://phpackages.com/badges/keboola-data-loader/health.svg)](https://phpackages.com/packages/keboola-data-loader)
```

###  Alternatives

[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k379.4k24](/packages/team-reflex-discord-php)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k4](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[drevops/git-artifact

Package artifact from your codebase in CI and push it to a separate git repo.

2133.2k](/packages/drevops-git-artifact)[doppar/framework

The Doppar Framework

366.7k8](/packages/doppar-framework)

PHPackages © 2026

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