PHPackages                             steveorevo/json2mysql - 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. [Database &amp; ORM](/categories/database)
4. /
5. steveorevo/json2mysql

ActiveLibrary[Database &amp; ORM](/categories/database)

steveorevo/json2mysql
=====================

JSON2MySQL is a JSON import tool with support for PHP serialization.

2.1.4(4y ago)06MITPHP

Since Nov 22Pushed 4y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (11)Used By (0)

json2mysql
==========

[](#json2mysql)

JSON to database import tool with support for PHP serialization.

### About

[](#about)

This command line tool will import the specified JSON file created from the companion tool [mysql2json](https://github.com/steveorevo/mysql2json). Auto-detection of objects will be stored as PHP serialized strings.

#### Help

[](#help)

Type json2mysql --help

```
JSON2MySQL is a JSON import tool with support for PHP serialization.
Version 2.1.4

Usage: json2mysql [-d dbname, --dbname dbname] [-?, --help] [-h host, --host host (default: localhost)] [-l, --list] [-p password, --password password] [-P port, --port port] [-q, --quiet] [-s, --skip] [-t tables, --tables tables] [-u user, --user user (default: root)] [-v, --version] [json_file]

Optional Arguments:
        -?, --help
                print this help
        -h host, --host host (default: localhost)
                host name or IP address (default: localhost)
        -l, --list
                list tables available for import
        -p password, --password password
                password to connect with (default is none)
        -P port, --port port
                the TCP/IP port number to connect to
        -s, --skip
                skip dropping/creating of existing database
        -t tables, --tables tables
                a comma delimited list of tables (default empty for all)
        -u user, --user user (default: root)
                username to connect as (default: root)
        -q, --quiet
                quiet (no output and default question to yes)
        -v, --version
                output version number
        -d dbname, --dbname dbname
                override, create/import using specified database name
        json_file
                the json file to import

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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 ~141 days

Recently: every ~89 days

Total

10

Last Release

1460d ago

Major Versions

1.1.2 → 2.0.02021-05-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/80aa2d4f020f7e366be786aaf3e1c25308f66a63cc62c66d10cb6bea13915d4a?d=identicon)[Steveorevo](/maintainers/Steveorevo)

---

Top Contributors

[![Steveorevo](https://avatars.githubusercontent.com/u/635399?v=4)](https://github.com/Steveorevo "Steveorevo (27 commits)")

---

Tags

databasejsonmysqlphp-serialphp-serialization

### Embed Badge

![Health badge](/badges/steveorevo-json2mysql/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

15.4k84.1k1](/packages/getgrav-grav)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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