PHPackages                             daniel-de-wit/laravel-mysql-move-column - 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. daniel-de-wit/laravel-mysql-move-column

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

daniel-de-wit/laravel-mysql-move-column
=======================================

A Laravel package for simplifying rearranging MySQL database columns

1.0.0(1y ago)0145MITPHPPHP ^7.4 || ^8.0CI passing

Since Mar 31Pushed 1y ago1 watchersCompare

[ Source](https://github.com/daniel-de-wit/laravel-mysql-move-column)[ Packagist](https://packagist.org/packages/daniel-de-wit/laravel-mysql-move-column)[ Docs](https://github.com/daniel-de-wit/laravel-mysql-move-column)[ RSS](/packages/daniel-de-wit-laravel-mysql-move-column/feed)WikiDiscussions main Synced 1mo ago

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

Laravel MySQL Move Column
=========================

[](#laravel-mysql-move-column)

[![Software License](https://camo.githubusercontent.com/89efb3a812f7b59e6223e1916b2b074e911e0363df1091c2bdc9ef52dff2598f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d7371756172652663616368652d636f6e74726f6c3d6e6f2d6361636865)](LICENSE.md)[![Tests](https://github.com/daniel-de-wit/laravel-mysql-move-column/actions/workflows/tests.yml/badge.svg?cache-control=no-cache)](https://github.com/daniel-de-wit/laravel-mysql-move-column/actions/workflows/tests.yml)[![Coverage Status](https://camo.githubusercontent.com/316191be3bddc94518ed96e56826be676c2380a0162491069876ff836c100420/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f64616e69656c2d64652d7769742f6c61726176656c2d6d7973716c2d6d6f76652d636f6c756d6e2f62616467652e7376673f6272616e63683d6d61696e2663616368652d636f6e74726f6c3d6e6f2d6361636865)](https://coveralls.io/github/daniel-de-wit/laravel-mysql-move-column?branch=main)[![Latest Version on Packagist](https://camo.githubusercontent.com/0f8628232af6df89a02e351067baa1e61e7e719c6fcd735726b8913841934409/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64616e69656c2d64652d7769742f6c61726176656c2d6d7973716c2d6d6f76652d636f6c756d6e2e7376673f7374796c653d666c61742d7371756172652663616368652d636f6e74726f6c3d6e6f2d6361636865)](https://packagist.org/packages/daniel-de-wit/laravel-mysql-move-column)[![Total Downloads](https://camo.githubusercontent.com/ab96013950bd76cf31b311100a386806fea37988734fbe12f2f4b0f0cb711f4b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64616e69656c2d64652d7769742f6c61726176656c2d6d7973716c2d6d6f76652d636f6c756d6e2e7376673f7374796c653d666c61742d7371756172652663616368652d636f6e74726f6c3d6e6f2d6361636865)](https://packagist.org/packages/daniel-de-wit/laravel-mysql-move-column)

A Laravel package for simplifying rearranging MySQL database columns.

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

[](#installation)

You can install the package via composer:

```
composer require daniel-de-wit/laravel-mysql-move-column
```

The package is loaded using [Package Discovery](https://laravel.com/docs/8.x/packages#package-discovery), when disabled read [Manual Installation](#manual-installation).

Usage
-----

[](#usage)

The method `moveColumn` is made available for moving a MySQl column to a new position.

```
