PHPackages                             readerstacks/querymigration - 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. readerstacks/querymigration

ActiveLibrary

readerstacks/querymigration
===========================

Migrate custom raw query

1.1.5(4y ago)12.4k—0%MITPHP

Since Jan 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Readerstacks/laravel_query_migration)[ Packagist](https://packagist.org/packages/readerstacks/querymigration)[ RSS](/packages/readerstacks-querymigration/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)DependenciesVersions (9)Used By (0)

 [ ![](https://camo.githubusercontent.com/b0142894ff543a81fa5f0a3722396d8dbe982ab8232e4a1148508f19f837cc10/68747470733a2f2f69302e77702e636f6d2f726561646572737461636b732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032312f31302f53637265656e73686f745f323032312d31302d33305f61745f31312e32312e33335f414d2d72656d6f766562672d707265766965772d352d312e706e673f773d3530302673736c3d31) ](https://github.com/readerstacks)

Laravel Raw Sql Query Migration By readerstacks.com
===================================================

[](#laravel-raw-sql-query-migration-by-readerstackscom)

Laravel Query Migration is a tool to migrate raw query in migration and keep track of them accross the servers.

For license information check the [LICENSE](LICENSE.md)-file.

Features
--------

[](#features)

- Friendly raw query migrations

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

[](#installation)

### 1 - Dependency

[](#1---dependency)

The first step is using composer to install the package and automatically update your `composer.json` file, you can do this by running:

```
composer require readerstacks/querymigration
```

> **Note**: If you are using Laravel 5.5, the steps 2 for providers and aliases, are unnecessaries. QieryMigrations supports Laravel new [Package Discovery](https://laravel.com/docs/5.5/packages#package-discovery).

### 2 - Provider

[](#2---provider)

You need to update your application configuration in order to register the package so it can be loaded by Laravel, just update your `config/app.php` file adding the following code at the end of your `'providers'` section:

> `config/app.php`

```
