PHPackages                             pshentsoff/mysql-to-sqlite - 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. pshentsoff/mysql-to-sqlite

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

pshentsoff/mysql-to-sqlite
==========================

Create &amp; convert MySQL dump to SQLite DB file

v1.2.1(9y ago)015MITPHPPHP &gt;=5.6.0

Since Jan 12Pushed 6y agoCompare

[ Source](https://github.com/pshentsoff/mysql-to-sqlite)[ Packagist](https://packagist.org/packages/pshentsoff/mysql-to-sqlite)[ RSS](/packages/pshentsoff-mysql-to-sqlite/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (7)Versions (9)Used By (0)

Laravel mysql-to-sqlite
=======================

[](#laravel-mysql-to-sqlite)

This is a Laravel wrapper for [esperlu's mysql2sqlite.sh](https://gist.github.com/esperlu/943776) which converts a mysqldump to an Sqlite 3 compatible file.

- [Installation](#installation)
- [Usage](#usage)
- [Configuration](#configuration)

Installation
============

[](#installation)

You're probably only using this for development, so we'll use `require-dev`:

```
composer require --dev pshentsoff/mysql-to-sqlite

```

Usage
=====

[](#usage)

You can run the default configuration

```
php artisan db:mysql-to-sqlite

```

Running a single, default conversion configuration:

```
php artisan db:mysql-to-sqlite customerServiceDBForCI

```

Configuration
=============

[](#configuration)

- Publish the config...

**For Laravel**

Publish the config...

```
php artisan vendor:publish --provider="MysqlToSqlite\ServiceProvider"

```

Add the following to `app/Providers/AppServiceProvider.php`

```
public function register()
{
    // Class may not be there if it was loaded as a dev dependency
    if (class_exists('MysqlToSqlite\ServiceProvider')) {
        $this->app->register(\MysqlToSqlite\ServiceProvider::class);
    }
}
```

**For Lumen**

Publish the config...

```
cp vendor/realpagelouisville/mysql-to-sqlite/config/mysql-to-sqlite.php config/mysql-to-sqlite.php

```

Add the following to `app/bootstrap/app.php`

```
// Class may not be there if it was loaded as a dev dependency
if(class_exists('MysqlToSqlite\ServiceProvider')) {
    $app->register(MysqlToSqlite\ServiceProvider::class);
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

Recently: every ~114 days

Total

8

Last Release

3314d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f2eab62b02d9bf6118235be046e58637702e036b95636cf4e636f6487091bc2?d=identicon)[Vadim Pshentsov](/maintainers/Vadim%20Pshentsov)

---

Top Contributors

[![bkuhl](https://avatars.githubusercontent.com/u/524933?v=4)](https://github.com/bkuhl "bkuhl (17 commits)")[![Denis4yk](https://avatars.githubusercontent.com/u/15350325?v=4)](https://github.com/Denis4yk "Denis4yk (5 commits)")[![pshentsoff](https://avatars.githubusercontent.com/u/1342513?v=4)](https://github.com/pshentsoff "pshentsoff (4 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pshentsoff-mysql-to-sqlite/health.svg)

```
[![Health](https://phpackages.com/badges/pshentsoff-mysql-to-sqlite/health.svg)](https://phpackages.com/packages/pshentsoff-mysql-to-sqlite)
```

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M186](/packages/spatie-laravel-backup)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M86](/packages/laravel-doctrine-orm)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[illuminate/queue

The Illuminate Queue package.

20331.4M1.2k](/packages/illuminate-queue)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)

PHPackages © 2026

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