PHPackages                             blackbricksoftware/laravel-migration-builder - 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. blackbricksoftware/laravel-migration-builder

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

blackbricksoftware/laravel-migration-builder
============================================

Programmatically create full Laravel migrations.

v11.0.0(1y ago)112011MITPHPPHP ^8.2

Since Jan 31Pushed 1y ago2 watchersCompare

[ Source](https://github.com/blackbricksoftware/laravel-migration-builder)[ Packagist](https://packagist.org/packages/blackbricksoftware/laravel-migration-builder)[ RSS](/packages/blackbricksoftware-laravel-migration-builder/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (22)Used By (1)

Laravel Migration Builder
=========================

[](#laravel-migration-builder)

Description
-----------

[](#description)

Programmatically define table and column definitions, and write a migration file. This is useful when you want to create migrations from an external source, such as an API, to store data locally. See [here](https://github.com/blackbricksoftware/laravel-migration-builder-salesforce) for an example usage.

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

[](#installation)

To install the Laravel Migration Builder package, follow these steps:

### Install package

[](#install-package)

`composer require blackbricksoftware/laravel-migration-builder --dev`

### Publish configuration

[](#publish-configuration)

`php artisan vendor:publish --tag=laravel-migration-builder-config`

Usage
-----

[](#usage)

To create a migration using the example command, follow these steps:

See [src/Commands/ExampleCommand.php](src/Commands/ExampleCommand.php) for an example.

Run `php artisan make:migration-builder:example` to create a migration with this example.

Acknowledgements
----------------

[](#acknowledgements)

- Andrew Hanks for this [article](https://medium.com/@andrewhanks2402/step-by-step-guide-to-laravel-package-development-82e2865fb278) on how to make a Reddit package.
- Iftekhar Rifat for this [repo](https://github.com/Agontuk/schema-builder) with a good starting spot for programmatically creating migrations.
- Vitaliy Dotsenko for this [write-up](https://medium.com/legacybeta/using-composer-2-0-with-psr4-388b78b98aaa) that fixed my autoloading.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~66 days

Recently: every ~310 days

Total

21

Last Release

646d ago

Major Versions

v0.3.0 → v9.0.02022-05-04

v9.0.0 → v10.0.02024-09-24

v10.0.0 → v11.0.02024-09-24

PHP version history (4 changes)v0.1.0PHP ^7.4|^8.0

v0.3.0PHP ^8.0.2

v10.0.0PHP ^8.1

v11.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/49ef798c46472a4224ac686d224ee867915858ae5325a60f5feee5c1cb833928?d=identicon)[redbeanbananas](/maintainers/redbeanbananas)

---

Top Contributors

[![davidjosephhayes](https://avatars.githubusercontent.com/u/9373380?v=4)](https://github.com/davidjosephhayes "davidjosephhayes (2 commits)")[![sigmaenigma](https://avatars.githubusercontent.com/u/3394398?v=4)](https://github.com/sigmaenigma "sigmaenigma (1 commits)")

### Embed Badge

![Health badge](/badges/blackbricksoftware-laravel-migration-builder/health.svg)

```
[![Health](https://phpackages.com/badges/blackbricksoftware-laravel-migration-builder/health.svg)](https://phpackages.com/packages/blackbricksoftware-laravel-migration-builder)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M186](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)

PHPackages © 2026

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