New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

orchestra/transporter

Migration Toolkit: Creating ORM Compatible Structure from Legacy Database
141 2

Larablocks Analysis

Compatibility

Trusted maintainer

orchestra/transporter works with Laravel 5 (latest release v3.2.0, Nov 24, 2015), which reached end of life: no more fixes, even for security.

  • Trusted maintainer: orchestra publishes 41 packages on Larablocks, with 16,383,731 downloads a month between them.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Nov 24, 2015)
  • 0 downloads a month (needs 10,000)
  • 2 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Nov 24, 2015.
  • No releases in the last 12 months.
  • First released: Aug 15, 2015.
  • 2 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require orchestra/transporter
Latest Version:v3.2.0
PHP:>=5.6.0
Laravel:5
License:MIT
Last Updated:Jul 31, 2016
Links: GitHub  ·  Packagist
Maintainer: crynobone

Migration Toolkit: Creating ORM Compatible Structure from Legacy Database

Join the chat at https://gitter.im/orchestral/platform/components

Have you ever taken a project that had a messy, unstructured database design? Have you ever wish you can transform those project to become more Eloquent friendly?

Latest Stable Version Total Downloads MIT License Build Status Coverage Status Scrutinizer Quality Score

use App\User;
use Illuminate\Database\Query\Builder;
use Orchestra\Transporter\Blueprint;
use Orchestra\Transporter\Schema;

Schema::table('member', function (Blueprint $blueprint) {
    $blueprint->connection('legacy')
        ->key('member_id')
        ->filter(function (Builder $query) {
            $query->where('active', '=', 1);
        })->transport(function ($data) {
            return new User([
                'email' => $data->u_email,
                'password' => $data->u_password,
            ]);
        });
})->start();

Version Compatibility

Laravel Transporter
5.1.x 3.1.x
5.2.x 3.2.x
5.3.x 3.3.x@dev
5.4.x 3.4.x@dev

Installation

To install through composer, simply put the following in your composer.json file:

{
    "require": {
        "orchestra/transporter": "~3.1"
    }
}

And then run composer install to fetch the package.

Quick Installation

You could also simplify the above code by using the following command:

composer require "orchestra/transporter=~3.1"

Setup

For simplicity, Transporter Component doesn't include any service provider. You can simply run the migration via:

php artisan migrate --path=vendor/orchestra/transporter/resources/database/migrations

Related Packages

orchestra/tenanti

Tenant based Database Schema Manager for Laravel

128,191 587
orchestra/database

Database Component for Orchestra Platform

1,540,111 19
orchestra/contracts

Contracts for Orchestra Platform

696,933 12
orchestra/support-providers

Support (Providers) Component for Laravel and Orchestra Platform

188,843 3
orchestra/support-facades

Support (Facades) Component for Orchestra Platform

51,854 6

Version History

Version Released Laravel License
v3.2.0 ~5.2.0 MIT
v3.1.0 ~5.1.0 MIT
Pre-releases (1)
Version Released Laravel License
v3.1.0-BETA1 ~5.1.0 MIT