PHPackages                             wpdiggerstudio/wpzylos-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. [Database &amp; ORM](/categories/database)
4. /
5. wpdiggerstudio/wpzylos-migrations

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

wpdiggerstudio/wpzylos-migrations
=================================

dbDelta-based migration runner for WPZylos framework

v1.0.0(5mo ago)02572MITPHPPHP ^8.0CI failing

Since Feb 1Pushed 2w agoCompare

[ Source](https://github.com/WPDiggerStudio/wpzylos-migrations)[ Packagist](https://packagist.org/packages/wpdiggerstudio/wpzylos-migrations)[ Docs](https://github.com/WPDiggerStudio/wpzylos-migrations)[ Fund](https://www.paypal.com/donate/?hosted_button_id=66U4L3HG4TLCC)[ RSS](/packages/wpdiggerstudio-wpzylos-migrations/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (2)

WPZylos Migrations
==================

[](#wpzylos-migrations)

[![PHP Version](https://camo.githubusercontent.com/911a83e2aa6fe73660ab613629a95c76622bf03049a7344e80c5ea72d4ef9c7d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e302d626c7565)](https://php.net)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](LICENSE)[![GitHub](https://camo.githubusercontent.com/dbe820b98864e115173c422b9472b725cfa678bee03b66ff2c453dad95a3d20b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4769744875622d575044696767657253747564696f2d3138313731373f6c6f676f3d676974687562)](https://github.com/WPDiggerStudio/wpzylos-migrations)

dbDelta-based migration runner for WPZylos framework.

📖 **[Full Documentation](https://wpzylos.com)** | 🐛 **[Report Issues](https://github.com/WPDiggerStudio/wpzylos-migrations/issues)**

---

✨ Features
----------

[](#-features)

- **dbDelta Integration** — Uses WordPress dbDelta for safe schema changes
- **Batch Tracking** — Tracks migration history with batch numbers
- **Up/Down Methods** — Reversible migrations
- **CLI Support** — Run migrations via WP-CLI
- **Helper Methods** — `create()`, `drop()`, `charsetCollate()`, `runDbDelta()`

---

📋 Requirements
--------------

[](#-requirements)

RequirementVersionPHP^8.0WordPress6.0+---

🚀 Installation
--------------

[](#-installation)

```
composer require wpdiggerstudio/wpzylos-migrations
```

---

📖 Quick Start
-------------

[](#-quick-start)

### Register ServiceProvider

[](#register-serviceprovider)

```
$app->register(new \WPZylos\Framework\Migrations\MigrationsServiceProvider());
```

### Write a Migration

[](#write-a-migration)

```
