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 today

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 82% of packages

Maintenance36

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

591d 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

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

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

423715.4k1](/packages/clickbar-laravel-magellan)[genealabs/laravel-pivot-events

This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.

1404.9M8](/packages/genealabs-laravel-pivot-events)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)

PHPackages © 2026

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