PHPackages                             polygontech/data-migration-laravel - 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. polygontech/data-migration-laravel

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

polygontech/data-migration-laravel
==================================

Migration utility for creating or changing data in production

1.0.0(3y ago)0750MITPHP

Since Dec 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ShafiqIslam/data-migration-laravel)[ Packagist](https://packagist.org/packages/polygontech/data-migration-laravel)[ Docs](https://github.com/ShafiqIslam/data-migration-laravel)[ RSS](/packages/polygontech-data-migration-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

polygontech/data-migration-laravel
==================================

[](#polygontechdata-migration-laravel)

 **Migration utility for creating or changing data in production**

polygontech/data-migration-laravel is mainly used in laravel projects at polygontech to keep track of production data change request and also as initial seeders.

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

[](#installation)

The preferred method of installation is via [Composer](https://getcomposer.org/). Run the following command to install the package and add it as a requirement to your project's `composer.json`:

```
composer require data-migration-laravel
```

then, publish the needed config:

```
php artisan vendor:publish --provider='Polygontech\DataMigration\ServiceProvider'

# or,

php artisan vendor:publish # and select 'Polygontech\DataMigration\ServiceProvider' when prompted
```

then, run migration to create the migration table:

```
php artisan migrate
```

Usage
-----

[](#usage)

Data migration is a migration like utility. Like migration, it provides some commands named `make:data-migration` and `data-migrate`. Currently, no rollback is supported.

First, create a data-migration:

```
php artisan make:data-migration MigrationName
```

A migration file will be created in `database/data-migrations` directory. `database/data-migrations` directory is set to default. It can be changed from `config/data_migrations.php` file.

Write the necessary data manipulation logics in the `handle` method of the newly created file. You can inject any dependencies in the `__construct` method of the migration class, they will be automatically resoluted.

Then, run created migrations:

```
php artisan data-migrate
```

Contributing
------------

[](#contributing)

Contributions are welcome! To contribute, please familiarize yourself with [CONTRIBUTING.md](CONTRIBUTING.md).

Copyright and License
---------------------

[](#copyright-and-license)

The polygontech/nagad-disbursement library is copyright © [Shafiqul Islam](https://github.com/ShafiqIslam/), [Polygon Technology](https://polygontech.xyz/) and licensed for use under the MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1260d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b18979fc84437c8299fb0333fe992e0dae414fbeeb1b9059ce09287e94d6503?d=identicon)[shafiqistaken](/maintainers/shafiqistaken)

---

Tags

migrationproduction dataproduction seedversion control of data changes

### Embed Badge

![Health badge](/badges/polygontech-data-migration-laravel/health.svg)

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

###  Alternatives

[dragon-code/laravel-deploy-operations

Performing any actions during the deployment process

240173.5k2](/packages/dragon-code-laravel-deploy-operations)[ucan-lab/laravel-dacapo

Laravel migration support tools

110343.8k](/packages/ucan-lab-laravel-dacapo)[scrumble-nl/laravel-csr

This package makes it possible to generate a controller, service, repository, model and migration all in 1 command

4219.2k](/packages/scrumble-nl-laravel-csr)

PHPackages © 2026

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