PHPackages                             ie/sql\_converter\_migration - 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. ie/sql\_converter\_migration

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

ie/sql\_converter\_migration
============================

convert sql to migration

1.8.0(5y ago)018MITPHP

Since Jan 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Islam9595/sql_converter)[ Packagist](https://packagist.org/packages/ie/sql_converter_migration)[ RSS](/packages/ie-sql-converter-migration/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)DependenciesVersions (11)Used By (0)

```
# sql_converter
### Installation
composer require ie/sql_converter_migration
### How to Use

use ie\sqlconvertertomigration\Models\SQLConverter;

$queries = "your queries"
SQLConverter::convertStringQueries($queries);

### example

$queries = "
DROP TABLE `t2`;
CREATE TABLE `Persons` (
`ID` int(11) NOT NULL,
`LastName` varchar(255) NOT NULL,
`FirstName` varchar(255) DEFAULT NULL,
`Age` int(11) DEFAULT NULL,
PRIMARY KEY (`ID`,`LastName`),
FOREIGN KEY (`Age`) REFERENCES `t1`(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `t1` ADD KEY `name` (`name`);
ALTER TABLE `t1` ADD CONSTRAINT `t1_ibfk_1` FOREIGN KEY (`name`) REFERENCES `Persons` (`ID`);
";
SQLConverter::convertStringQueries($queries);

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Total

10

Last Release

1929d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45e21c727b51d22075733ac5d5837ca7a74680fc7600bded9f960eb1ce964caf?d=identicon)[IslamEmam](/maintainers/IslamEmam)

---

Top Contributors

[![Islam9595](https://avatars.githubusercontent.com/u/71778393?v=4)](https://github.com/Islam9595 "Islam9595 (12 commits)")

### Embed Badge

![Health badge](/badges/ie-sql-converter-migration/health.svg)

```
[![Health](https://phpackages.com/badges/ie-sql-converter-migration/health.svg)](https://phpackages.com/packages/ie-sql-converter-migration)
```

###  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)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[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)
