PHPackages                             vielhuber/kiwi - 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. vielhuber/kiwi

ActiveLibrary

vielhuber/kiwi
==============

kiwi provides a git-like experience for relational databases.

1.0.4(8y ago)117MITPHPPHP &gt;=7.0

Since May 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/vielhuber/kiwi)[ Packagist](https://packagist.org/packages/vielhuber/kiwi)[ RSS](/packages/vielhuber-kiwi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

🥝 kiwi 🥝
========

[](#-kiwi-)

**kiwi provides a git-like experience for relational databases.**

[![kiwi in action](https://raw.githubusercontent.com/vielhuber/kiwi/master/kiwi.gif)](https://raw.githubusercontent.com/vielhuber/kiwi/master/kiwi.gif)

This is currently a proof-of-concept.

Features
--------

[](#features)

- No sql triggers
- No binary / ddl logs
- Support for mysql &amp; mariadb
- Works with any shared hosting provider that runs linux
- Detects [data and schema changes](https://github.com/vielhuber/magicdiff), at the same time
- Fast
- Command line tool usage
- Requires only ssh access to remote repository
- [Search/replace layer](https://github.com/vielhuber/magicreplace) for environment specific values (serialize safe)
- Works together with WordPress, Shopware or any other raw sql database

Similiar tools
--------------

[](#similiar-tools)

- [mergebot](https://mergebot.com)

Planned
-------

[](#planned)

- Support for postgresql
- Advanced conflict solver
- Support for syncing views, trigger, functions and transactions
- Test suite
- Branching and other git-like features

Disclaimer
----------

[](#disclaimer)

This does not prevent you from taking backups. Use this script at your own risk.

Dependencies
------------

[](#dependencies)

- [php7](http://php.net/)
- [diff](https://linux.die.net/man/1/diff)
- [patch](https://linux.die.net/man/1/patch)
- [scp](https://linux.die.net/man/1/scp)

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

[](#installation)

Install/update globally:

```
wget https://raw.githubusercontent.com/vielhuber/kiwi/master/kiwi.phar
chmod +x kiwi.phar
sudo mv kiwi.phar /usr/local/bin/kiwi

```

Usage
-----

[](#usage)

First setup kiwi on client:

`kiwi init`

Change settings for local/remote database:

`nano .kiwi/config.json`

Get current status:

`kiwi status`

Push changes to remote repo:

`kiwi push`

Pull state of remote repo:

`kiwi pull`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~17 days

Total

5

Last Release

3219d ago

PHP version history (2 changes)1.0.1PHP &gt;=5.6

1.0.4PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d959b840f9893a14dfc78f65588f427d5bf606b885616e95dbe5a11199a8fc21?d=identicon)[vielhuber](/maintainers/vielhuber)

---

Top Contributors

[![vielhuber](https://avatars.githubusercontent.com/u/3183737?v=4)](https://github.com/vielhuber "vielhuber (56 commits)")

### Embed Badge

![Health badge](/badges/vielhuber-kiwi/health.svg)

```
[![Health](https://phpackages.com/badges/vielhuber-kiwi/health.svg)](https://phpackages.com/packages/vielhuber-kiwi)
```

PHPackages © 2026

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