PHPackages                             listinghosting/migrations - 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. [Framework](/categories/framework)
4. /
5. listinghosting/migrations

ActiveLibrary[Framework](/categories/framework)

listinghosting/migrations
=========================

Migrations system for WHSuite Framework

042PHP

Since Mar 11Pushed 6y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

\#Migration System

The WHSuite migration system provides a way to control both the core system migrations, as well as any addon migrations.

\##Migration Locations

The addon migrations should be stored in:

**/app/addons/&lt;addon\_name&gt;/migrations/**

The core system migrations should be stored in:

**/app/storage/migrations/**

\##Migration File Naming

Whilst there's no hard fixed limit on the naming convention that must be used, file names must be in a descending order.

So you couldnt create 'migration5.php' followed by 'migration4.php' - they must be in order or they wont run.

The WHSuite Dev Team will be using the following file naming convention for all migrations. Addons for WHSuite should use the same naming convention to avoid any possible future issues.

migration\_YYYY\_MM\_DD\_HHMMSS.php

It should also be noted that the class name for the migrations should be:

Migration\_YYYY\_MM\_DD\_HHMMSS

\##Class Methods

Inside each migration class you have two methods. **up()** and **down()**.

Both support full PHP, you are not restricted to just SQL queries in here, however we dont recommend any extensive file changes be performed within migrations as they are designed just for database version control.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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/466269d42473d4b15eb25b72e851ac0bcd09e75dd99347bc75fe5014551a6930?d=identicon)[heylh](/maintainers/heylh)

---

Top Contributors

[![heylh](https://avatars.githubusercontent.com/u/62077160?v=4)](https://github.com/heylh "heylh (2 commits)")

### Embed Badge

![Health badge](/badges/listinghosting-migrations/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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