PHPackages                             rawphp/raw-migrator - 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. rawphp/raw-migrator

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

rawphp/raw-migrator
===================

RawMigrator provides database migration service for RawPHP framework and other applications.

0267PHP

Since Sep 24Pushed 11y ago1 watchersCompare

[ Source](https://github.com/rawphp/RawMigrator)[ Packagist](https://packagist.org/packages/rawphp/raw-migrator)[ RSS](/packages/rawphp-raw-migrator/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

RawMigrator - A Simple Database Migration Service for PHP Applications
======================================================================

[](#rawmigrator---a-simple-database-migration-service-for-php-applications)

[![Build Status](https://camo.githubusercontent.com/f6466247fcaa0e3918999a55d92d61a467d07179a5196e39f72e7aabdd329f18/68747470733a2f2f7472617669732d63692e6f72672f7261777068702f5261774d69677261746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rawphp/RawMigrator) [![Coverage Status](https://camo.githubusercontent.com/2d7bb71d588d32da60165d94dc187b694b571138a474e76e7c6cb3828111aeaf/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7261777068702f5261774d69677261746f722f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/rawphp/RawMigrator?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/23712462e24381970a92b9bd9492f3526446bab92ec8277411b3dca96b4aa793/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6d69677261746f722f762f737461626c652e737667)](https://packagist.org/packages/rawphp/raw-migrator) [![Total Downloads](https://camo.githubusercontent.com/1240510fedb70ce71c6023ff6c191323ac720d5c2ed2ccb0354f44a18672d9b4/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6d69677261746f722f646f776e6c6f6164732e737667)](https://packagist.org/packages/rawphp/raw-migrator) [![Latest Unstable Version](https://camo.githubusercontent.com/78cba1769078456406b7dc89eef58d95f8309ae5361bf6d16cbe828116b41113/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6d69677261746f722f762f756e737461626c652e737667)](https://packagist.org/packages/rawphp/raw-migrator) [![License](https://camo.githubusercontent.com/fded07baf66d083bc53fa81fa6a0f44c384dc56a3ab444309c0a653866e9c408/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6d69677261746f722f6c6963656e73652e737667)](https://packagist.org/packages/rawphp/raw-migrator)

Package Features
----------------

[](#package-features)

- Simple to use migrator
- Create new migration classes
- Migrate database up and down
- Supports migration level control

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

[](#installation)

### Composer

[](#composer)

RawMigrator is available via [Composer/Packagist](https://packagist.org/packages/rawphp/raw-router).

Add `"rawphp/raw-migrator": "0.*@dev"` to the require block in your composer.json and then run `composer install`.

```
{
        "require": {
            "rawphp/raw-migrator": "0.*@dev"
        }
}
```

You can also simply run the following from the command line:

```
composer require rawphp/raw-migrator "0.*@dev"
```

### Tarball

[](#tarball)

Alternatively, just copy the contents of the RawMigrator folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub.

Basic Usage
-----------

[](#basic-usage)

```
