PHPackages                             kluevandrew/mysql2postgresql - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kluevandrew/mysql2postgresql

ActiveProject[Utility &amp; Helpers](/categories/utility)

kluevandrew/mysql2postgresql
============================

Mysql XML to Postgresql Sql dump converter

1.0.4(10y ago)126GPL-2.0

Since Jun 29Compare

[ Source](https://github.com/kluevandrew/mysql2postgresql)[ Packagist](https://packagist.org/packages/kluevandrew/mysql2postgresql)[ RSS](/packages/kluevandrew-mysql2postgresql/feed)WikiDiscussions Synced 2w ago

READMEChangelogDependenciesVersions (6)Used By (0)

mysql2postgresql
================

[](#mysql2postgresql)

Converter mysql schema and data to postgresql

Usage

1. Create dump in xml format using command: `mysqldump --xml -u USER_NAME DB_NAME > DUMP_FILE_NAME`
2. Run converter using command: `php convertor.php -i DUMP_FILE_NAME -o PSQL_FILE_NAME`

Additional options

- `-b50` - set batch count (used on insert data). By default batch count = 200
- `-n` - non export structure

Restriction

This converter does not support foreign keys, because mysql does not return foreign key in xml dump Also You must have installed locally php postgresql extension

###  Health Score

30

—

LowBetter than 61% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 58% 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 ~0 days

Total

5

Last Release

3697d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2962993?v=4)[Andrew Kluev](/maintainers/kluevandrew)[@kluevandrew](https://github.com/kluevandrew)

---

Top Contributors

[![mihailShumilov](https://avatars.githubusercontent.com/u/1096785?v=4)](https://github.com/mihailShumilov "mihailShumilov (29 commits)")[![mihailshumilovsms](https://avatars.githubusercontent.com/u/4667185?v=4)](https://github.com/mihailshumilovsms "mihailshumilovsms (10 commits)")[![youkidearitai](https://avatars.githubusercontent.com/u/305368?v=4)](https://github.com/youkidearitai "youkidearitai (2 commits)")[![listepo](https://avatars.githubusercontent.com/u/2510800?v=4)](https://github.com/listepo "listepo (2 commits)")[![anaribas](https://avatars.githubusercontent.com/u/11192435?v=4)](https://github.com/anaribas "anaribas (2 commits)")[![frost-nzcr4](https://avatars.githubusercontent.com/u/468395?v=4)](https://github.com/frost-nzcr4 "frost-nzcr4 (1 commits)")[![Ashus](https://avatars.githubusercontent.com/u/11474712?v=4)](https://github.com/Ashus "Ashus (1 commits)")[![mobrador](https://avatars.githubusercontent.com/u/14920811?v=4)](https://github.com/mobrador "mobrador (1 commits)")[![jazzzz](https://avatars.githubusercontent.com/u/290626?v=4)](https://github.com/jazzzz "jazzzz (1 commits)")[![parkovski](https://avatars.githubusercontent.com/u/1094150?v=4)](https://github.com/parkovski "parkovski (1 commits)")

### Embed Badge

![Health badge](/badges/kluevandrew-mysql2postgresql/health.svg)

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

PHPackages © 2026

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