PHPackages                             arionmigrations/arion-migrations - 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. arionmigrations/arion-migrations

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

arionmigrations/arion-migrations
================================

Laravel package for specifying column positions in migrations

02PHP

Since Nov 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kostandinvllahu/ArionMigrations)[ Packagist](https://packagist.org/packages/arionmigrations/arion-migrations)[ RSS](/packages/arionmigrations-arion-migrations/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ArionMigrations
===============

[](#arionmigrations)

About the package
-----------------

[](#about-the-package)

ArionsMigrations is a simple Laravel package that allows the users to create migrations using the method `before();` . Until now Laravel allows users to update a table and use only `after();`

This can be a bit time wasting for a user that needs to see the table to find which column comes so they can use `after();` when they know the other column.

Install on Laravel
------------------

[](#install-on-laravel)

`composer require arionmigrations/arion-migrations`

Add the provider in the app.php
-------------------------------

[](#add-the-provider-in-the-appphp)

`ArionMigrations\Providers\ArionMigrationServiceProvider::class`

Example
-------

[](#example)

With `after();` its like this:

```
 Schema::create('users', function (Blueprint $table) {
            $table->string('email')->before('name');
        });

```

With `before();` its like this:

```
 Schema::create('users', function (Blueprint $table) {
            $table->before('before_column_name','new_column_name','type', 'length', 'default');
        });

```

The default length for string is `255`, but you can add your own length and the default is nullable but it can be changed.

After you have writen the migration just execute the migration

`php artisan migrate`

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d4295b4d6d0f2ffb1eb4eb58ec5e125999a371d192d5b3fabdea4664fa1a55a1?d=identicon)[kostandinvllahu](/maintainers/kostandinvllahu)

---

Top Contributors

[![kostandinvllahu](https://avatars.githubusercontent.com/u/33177557?v=4)](https://github.com/kostandinvllahu "kostandinvllahu (9 commits)")

### Embed Badge

![Health badge](/badges/arionmigrations-arion-migrations/health.svg)

```
[![Health](https://phpackages.com/badges/arionmigrations-arion-migrations/health.svg)](https://phpackages.com/packages/arionmigrations-arion-migrations)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
