clonio-dev/clonio-cli
Composer 安装命令:
composer create-project clonio-dev/clonio-cli
包简介
The clonio application
关键字:
README 文档
README
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 for more information.
Installation
Download the binary for your platform from the latest release:
| Platform | Binary |
|---|---|
| Linux 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 clonioSee docs/code-signing.md for the full signing setup once an Apple Developer account is available.
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 for the full tag scheme, recipes, and CI pinning guidance.
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 for details, CI examples, and PHP version requirements.
Commands
| Command | Description |
|---|---|
init |
Bootstrap Clonio in the current directory |
update |
Update to the latest release |
connection:add |
Add a new database connection |
connection:update |
Update an existing database connection |
connection:list |
List all configured database connections |
connection:delete |
Delete a saved database connection |
connection:test |
Test one or all saved database connections |
cloning:dump |
Inspect a database and generate a .cloning.yaml file |
cloning:run |
Transfer a database using a .cloning.yaml configuration |
cloning:column:edit |
Edit a column strategy in a .cloning.yaml file |
.cloning.yaml format |
Full reference for the cloning configuration file format |
matchers:init |
Write PII matcher baseline to clonio.pii-matchers.yaml |
matchers:update |
Add new baseline matchers to clonio.pii-matchers.yaml |
matchers:list |
Show effective PII matcher set |
matchers:check |
Test a column name against the matcher set |
audit:add |
Add an audit delivery channel |
audit:update |
Update an existing audit delivery channel |
audit:delete |
Delete an audit delivery channel |
audit:list |
List all configured audit delivery channels |
cloning:verify-audit |
Verify the integrity of a Clonio audit log |
about |
Display product information |
Development
See docs/development.md for setup, local builds, testing, and linting.
Releasing
See docs/releasing.md for the step-by-step release process.
Contributing
See CONTRIBUTING.md.
clonio-dev/clonio-cli 适用场景与选型建议
clonio-dev/clonio-cli 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 1, 最近一次更新时间为 2026 年 04 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「database」 「cli」 「testing」 「dev」 「fake-data」 「devops」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 clonio-dev/clonio-cli 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 clonio-dev/clonio-cli 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 clonio-dev/clonio-cli 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Dibi is Database Abstraction Library for PHP
Testing Suite For Lumen like Laravel does.
Store your language lines in the database, yaml or other sources
A package for automatically encrypting and decrypting Eloquent attributes in Laravel 5.5+, based on configuration settings.
A PSR-7 compatible library for making CRUD API endpoints
The PHP SDK for Checkmango
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 34
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-08