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

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

tod/mysql-to-sqlite
===================

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

Since Jan 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Denis4yk/mysql-to-sqlite)[ Packagist](https://packagist.org/packages/tod/mysql-to-sqlite)[ RSS](/packages/tod-mysql-to-sqlite/feed)WikiDiscussions master Synced 2mo ago

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.

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

[![Latest Stable Version](https://camo.githubusercontent.com/66736a8d1cd6902bf745b68693510ae1b48bdf9c7799326c7f90e75fff4ed220/68747470733a2f2f706f7365722e707567782e6f72672f7265616c706167656c6f75697376696c6c652f6d7973716c2d746f2d73716c6974652f762f737461626c652e706e67)](https://packagist.org/packages/realpagelouisville/mysql-to-sqlite) [![Total Downloads](https://camo.githubusercontent.com/da259b7f1887bd71b8c8f38b434689cc356bed1d8fdc5b0d8fbc178a24cc5fe4/68747470733a2f2f706f7365722e707567782e6f72672f7265616c706167656c6f75697376696c6c652f6d7973716c2d746f2d73716c6974652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/realpagelouisville/mysql-to-sqlite) [![Build Status](https://camo.githubusercontent.com/76a48f17b5c4f6081f19cedf7b9c9a1c0004f004ead64c3b82fc9ce02de420a1/68747470733a2f2f7472617669732d63692e6f72672f5265616c706167654c6f75697376696c6c652f6d7973716c2d746f2d73716c6974652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/realpagelouisville/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);
}
```

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

[](#installation)

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

```
composer require --dev realpagelouisville/mysql-to-sqlite:~1.*

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 77.3% 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

3324d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b84ab79eaf9beba8b387e4c7f1a1dab54ab5b0067e72a6999ffb4bc333fa240?d=identicon)[Denis4yk](/maintainers/Denis4yk)

---

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)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

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

The Illuminate Database package.

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

An integration library for Laravel and Doctrine ORM

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

Monitor the health of a Laravel application

86910.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)
