PHPackages                             clonio-dev/clonio-cli - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. clonio-dev/clonio-cli

ActiveProject[Testing &amp; Quality](/categories/testing)

clonio-dev/clonio-cli
=====================

The clonio application

v0.5.2(1mo ago)10[1 PRs](https://github.com/clonio-dev/clonio-cli/pulls)MITPHPPHP ^8.5CI passing

Since Mar 29Pushed 1w agoCompare

[ Source](https://github.com/clonio-dev/clonio-cli)[ Packagist](https://packagist.org/packages/clonio-dev/clonio-cli)[ Docs](https://clonio.dev)[ Fund](https://www.buymeacoffee.com/robertkummer)[ Fund](https://www.paypal.me/rok)[ RSS](/packages/clonio-dev-clonio-cli/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (15)Used By (0)

Clonio CLI
==========

[](#clonio-cli)

[![Tests](https://github.com/clonio-dev/clonio-cli/actions/workflows/tests.yml/badge.svg)](https://github.com/clonio-dev/clonio-cli/actions/workflows/tests.yml)[![Connection Tests](https://github.com/clonio-dev/clonio-cli/actions/workflows/connection-test.yml/badge.svg)](https://github.com/clonio-dev/clonio-cli/actions/workflows/connection-test.yml)[![Cloning Run Tests](https://github.com/clonio-dev/clonio-cli/actions/workflows/cloning-run-test.yml/badge.svg)](https://github.com/clonio-dev/clonio-cli/actions/workflows/cloning-run-test.yml)[![Latest Release](https://camo.githubusercontent.com/bf205128423873e09a816b955b2148a4fa8c34385b68e88a3649034f94eb9a8d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f636c6f6e696f2d6465762f636c6f6e696f2d636c69)](https://github.com/clonio-dev/clonio-cli/releases/latest)[![Packagist Version](https://camo.githubusercontent.com/fc9239061e7998dd32352de355924dec656b1b140084154e8bf0e3772b3dc14f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c6f6e696f2d6465762f636c6f6e696f2d636c69)](https://packagist.org/packages/clonio-dev/clonio-cli)

Clonio transfers your production database to your test and dev environments with automatic anonymization, fake data generation, and full audit trails.

It is free and open source for individuals and NGOs. See [clonio.dev](https://clonio.dev) for more information.

---

Installation
------------

[](#installation)

Download the binary for your platform from the [latest release](https://github.com/clonio-dev/clonio-cli/releases/latest):

PlatformBinaryLinux x86\_64`clonio-linux-x86_64`Linux aarch64`clonio-linux-aarch64`macOS Apple Silicon`clonio-macos-aarch64`Any (PHP 8.5+)`clonio.phar`Docker (any OS)`ghcr.io/clonio-dev/clonio:latest`The platform binaries are fully self-contained — no PHP required. The PHAR requires PHP 8.5 on the target machine (`php clonio.phar`) but is smaller and works on any platform.

Rename it, make it executable, and optionally move it to your PATH:

```
# Linux
mv clonio-linux-x86_64 clonio
chmod +x clonio
mv clonio /usr/local/bin/clonio

# macOS
mv clonio-macos-aarch64 clonio
chmod +x clonio
mv clonio /usr/local/bin/clonio
```

No PHP installation required — the binary is fully self-contained.

> **macOS note:** The binary is currently unsigned. macOS may block it with a Gatekeeper warning. To allow it, run:
>
> ```
> xattr -d com.apple.quarantine clonio
> ```
>
>
>
> See [docs/code-signing.md](docs/code-signing.md) for the full signing setup once an Apple Developer account is available.

### Docker

[](#docker)

No install required — run Clonio as a one-off container against your current directory:

```
docker run --rm -v "$(pwd)":/workspace \
  ghcr.io/clonio-dev/clonio:latest --version
```

Multi-arch image (`linux/amd64`, `linux/arm64`). See [docs/docker-distribution.md](docs/docker-distribution.md) for the full tag scheme, recipes, and CI pinning guidance.

### Composer (dev dependency)

[](#composer-dev-dependency)

Clonio can also be required as a dev dependency in any PHP project:

```
composer require --dev clonio-dev/clonio-cli
```

This makes `vendor/bin/clonio` available with the exact release version. See [docs/composer-distribution.md](docs/composer-distribution.md) for details, CI examples, and PHP version requirements.

---

Commands
--------

[](#commands)

CommandDescription[`init`](docs/commands/init.md)Bootstrap Clonio in the current directory[`update`](docs/commands/update.md)Update to the latest release[`connection:add`](docs/commands/connection-add.md)Add a new database connection[`connection:update`](docs/commands/connection-update.md)Update an existing database connection[`connection:list`](docs/commands/connection-list.md)List all configured database connections[`connection:delete`](docs/commands/connection-delete.md)Delete a saved database connection[`connection:test`](docs/commands/connection-test.md)Test one or all saved database connections[`cloning:dump`](docs/commands/cloning-dump.md)Inspect a database and generate a .cloning.yaml file[`cloning:run`](docs/commands/cloning-run.md)Transfer a database using a .cloning.yaml configuration[`cloning:column:edit`](docs/commands/cloning-column-edit.md)Edit a column strategy in a .cloning.yaml file[`.cloning.yaml` format](docs/cloning-yaml.md)Full reference for the cloning configuration file format[`matchers:init`](docs/commands/cloning-matchers.md)Write PII matcher baseline to clonio.pii-matchers.yaml[`matchers:update`](docs/commands/cloning-matchers.md)Add new baseline matchers to clonio.pii-matchers.yaml[`matchers:list`](docs/commands/cloning-matchers.md)Show effective PII matcher set[`matchers:check`](docs/commands/cloning-matchers.md)Test a column name against the matcher set[`audit:add`](docs/commands/audit-channel.md)Add an audit delivery channel[`audit:update`](docs/commands/audit-channel.md)Update an existing audit delivery channel[`audit:delete`](docs/commands/audit-channel.md)Delete an audit delivery channel[`audit:list`](docs/commands/audit-channel.md)List all configured audit delivery channels[`cloning:verify-audit`](docs/commands/cloning-verify-audit.md)Verify the integrity of a Clonio audit log[`about`](docs/commands/about.md)Display product information---

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

[](#development)

See [docs/development.md](docs/development.md) for setup, local builds, testing, and linting.

---

Releasing
---------

[](#releasing)

See [docs/releasing.md](docs/releasing.md) for the step-by-step release process.

---

Contributing
------------

[](#contributing)

See [CONTRIBUTING.md](.github/CONTRIBUTING.md).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance96

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.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 ~1 days

Total

14

Last Release

30d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4946056?v=4)[Robert Kummer](/maintainers/rokde)[@rokde](https://github.com/rokde)

---

Top Contributors

[![rokde](https://avatars.githubusercontent.com/u/4946056?v=4)](https://github.com/rokde "rokde (378 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (21 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (19 commits)")

---

Tags

testingclidevdatabaselaravel-zerodevopsgdprdata privacyanonymizationFake datadata-maskingdatabase-transferproduction-to-devdatabase-cloning

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/clonio-dev-clonio-cli/health.svg)

```
[![Health](https://phpackages.com/badges/clonio-dev-clonio-cli/health.svg)](https://phpackages.com/packages/clonio-dev-clonio-cli)
```

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.0k](/packages/orchestra-testbench)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8017.0M43](/packages/orchestra-workbench)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)[edyan/neuralyzer

Library and CLI for Data anonymization

53147.1k2](/packages/edyan-neuralyzer)[misantron/dbunit

DbUnit fork supporting PHPUnit 10/11/12

121.2M6](/packages/misantron-dbunit)

PHPackages © 2026

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