PHPackages                             vladahejda/migrant - 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. vladahejda/migrant

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

vladahejda/migrant
==================

09PHP

Since Feb 21Pushed 11y ago1 watchersCompare

[ Source](https://github.com/VladaHejda/Migrant)[ Packagist](https://packagist.org/packages/vladahejda/migrant)[ RSS](/packages/vladahejda-migrant/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Migrant
=======

[](#migrant)

1. Installation

---

Add to your `composer.json`:

```
"require-dev": {
	"vladahejda/migrant": "dev-master"
}
```

2. Configuration

---

Append `[migrant]` section into [dg/ftp-deployment](https://github.com/dg/ftp-deployment/) INI configuration file:

```
[migrant]

; database DSN
; do not forget that this DSN must have all database rights to execute migration SQLs
dsn = ://:@/

; production URL including protocol
siteUrl = http://example.com

; comma separated list of IP addresses that can trigger migrations via HTTP
allowedIps =

; mail to notify failure of migrations
reportingMail =

; remote directory for control files, defaults to root
;storageDir = /

; logs migrations success or failure, defaults to /log/migrant.log
;log = /log/migrant.log

; Directory with the migrations, defaults to /migrations
;migrationsDir = /migrations

; todo
;secretDir = /.secret
```

3. Make migrations

---

Place some SQL or PHP migrations into `migrationsDir` directory. Make for example `.sql` file with some table creation.

4. Trigger deployment

---

Run from CLI `php /vendor/vladahejda/migrant/src/migrate `.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/994a1263ef2e381df8f6f1fcbee56c87ffaa2b3f187582f5b93e138eb88dce03?d=identicon)[VladaHejda](/maintainers/VladaHejda)

---

Top Contributors

[![VladaHejda](https://avatars.githubusercontent.com/u/1905964?v=4)](https://github.com/VladaHejda "VladaHejda (10 commits)")

### Embed Badge

![Health badge](/badges/vladahejda-migrant/health.svg)

```
[![Health](https://phpackages.com/badges/vladahejda-migrant/health.svg)](https://phpackages.com/packages/vladahejda-migrant)
```

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