PHPackages                             nmcteam/migration - 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. nmcteam/migration

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

nmcteam/migration
=================

A migration framework to move content from source to destination

0.1.0(12y ago)921MITPHPPHP &gt;=5.3.0

Since Jan 4Pushed 12y ago3 watchersCompare

[ Source](https://github.com/nmcteam/migration)[ Packagist](https://packagist.org/packages/nmcteam/migration)[ Docs](http://github.com/nmcteam/migrate)[ RSS](/packages/nmcteam-migration/feed)WikiDiscussions master Synced 3d ago

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

Migration
=========

[](#migration)

This mini-framework is designed to migrate content from a source to a destination using a source (that provides iterable content), filters (to manipulate the content), and actions (to do something with the content).

How to install
--------------

[](#how-to-install)

Use [Composer](http://getcomposer.org/) to install this framework. In your `composer.json` file:

```
{
    "require": {
        "nmcteam/migration": "~0.1.0"
    }
}

```

Then run `composer install`.

Getting Started
---------------

[](#getting-started)

In this example, we create a job that echoes the HTML content from a set of URLs. Our "source" is a custom iterator that returns instances of `\NMC\Migration\Object`. We use a filter to reduce the source HTML to only the markup within the `` tags. We use an "action" to echo the HTML content.

```
