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 today

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 13% 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

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198741.5k12](/packages/pgvector-pgvector)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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