PHPackages                             shahid/sp-migrations-generator - 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. shahid/sp-migrations-generator

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

shahid/sp-migrations-generator
==============================

This package generates migrations for sps and functions from your env db through artisan commands.

1.3(6y ago)14.1kMITPHP

Since Sep 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/shahidullahkhankhattak/sp-migrations-generator)[ Packagist](https://packagist.org/packages/shahid/sp-migrations-generator)[ RSS](/packages/shahid-sp-migrations-generator/feed)WikiDiscussions master Synced today

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Sps &amp; Functions migrations generator for laravel
====================================================

[](#sps--functions-migrations-generator-for-laravel)

[![N|Solid](https://camo.githubusercontent.com/7095ebcb024d551c80a6b90dcb055d72a55a3a889ed081d0d3faedc8caf4597e/68747470733a2f2f736861686964756c6c61686b68616e2e636f6d2f696d616765732f706f77657265642e706e67)](https://shahidullahkhan.com)

[![Build Status](https://camo.githubusercontent.com/e9bee82bc24671ccbdb4f5a724314751902e587d5e1a26546955301ed81770b4/68747470733a2f2f736861686964756c6c61686b68616e2e636f6d2f696d616765732f70617373696e672e737667)](https://shahidullahkhan.com)

##### This is a laravel package that generates migrations for sps and functions from your database through artisan commands.

[](#this-is-a-laravel-package-that-generates-migrations-for-sps-and-functions-from-your-database-through-artisan-commands)

- Generates migrations for SP
- Generates migrations for Functions

Installation
------------

[](#installation)

This migration generator requires [Laravel](https://laravel.com/) to work.

require this package through composer using following command

```
$ composer require shahid/sp-migrations-generator
```

Next, add the following service providers:

```
Shahid\SpMigrationsGenerator\SpMigrationsGeneratorServiceProvider::class,

```

Usage
-----

[](#usage)

Run below command to generate migrations.

```
$ php artisan spmigration:generate
```

Or Run below command to ignore some table migrations.

```
$ php artisan spmigration:inserttables
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

2422d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6db851a5daadcca30a0f6d05d9ff426d6f2990adb4763190cdc00f2fe4a14d93?d=identicon)[shahidullahkhan](/maintainers/shahidullahkhan)

---

Top Contributors

[![shahidullahkhankhattak](https://avatars.githubusercontent.com/u/26232066?v=4)](https://github.com/shahidullahkhankhattak "shahidullahkhankhattak (7 commits)")

### Embed Badge

![Health badge](/badges/shahid-sp-migrations-generator/health.svg)

```
[![Health](https://phpackages.com/badges/shahid-sp-migrations-generator/health.svg)](https://phpackages.com/packages/shahid-sp-migrations-generator)
```

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