PHPackages                             yevhenii/laravel-migration-vise-versa - 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. yevhenii/laravel-migration-vise-versa

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

yevhenii/laravel-migration-vise-versa
=====================================

Package for Laravel. This package adds possibility to create migration and model from an existing table

010PHP

Since Sep 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/zenia9012/laravel-migration-vise-versa)[ Packagist](https://packagist.org/packages/yevhenii/laravel-migration-vise-versa)[ RSS](/packages/yevhenii-laravel-migration-vise-versa/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

LaravelMigrationViseVersa
=========================

[](#laravelmigrationviseversa)

[!\[Latest Version on Packagist\]\[ico-version\]](https://packagist.org/packages/yevhenii/laravel-migration-vise-versa)

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

[](#installation)

Via Composer

```
$ composer require yevhenii/laravel-migration-vise-versa
```

Usage
-----

[](#usage)

#### For creating Model from existing table use command:

[](#for-creating-model-from-existing-table-use-command)

```
$ php artisan table:model posts
```

Where "posts" is name of table.

Will be created :

- model "Post" with fillable array

#### For creating Model and Migration from existing table use command:

[](#for-creating-model-and-migration-from-existing-table-use-command)

```
$ php artisan table:model posts --m
```

Where "posts" is name of table.

Will be created :

- model "Post" and migration "create\_posts\_table"

#### For creating Migration from existing table use command:

[](#for-creating-migration-from-existing-table-use-command)

```
$ php artisan table:migration posts
```

Where "posts" is name of table.

Will be created :

- migration file "create\_posts\_table"

#### For creating Migration and Model from existing table use command:

[](#for-creating-migration-and-model-from-existing-table-use-command)

```
$ php artisan table:migration posts --m
```

Where "posts" is name of table.

Will be created :

- migration file "create\_posts\_table" and "Post" Model

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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/2d8963821bca4a30f7e613b311028a09072ff3e100da3ffbbf89fa8933167655?d=identicon)[Yevhenii](/maintainers/Yevhenii)

---

Top Contributors

[![yevhenii-teamscale](https://avatars.githubusercontent.com/u/52066554?v=4)](https://github.com/yevhenii-teamscale "yevhenii-teamscale (6 commits)")

### Embed Badge

![Health badge](/badges/yevhenii-laravel-migration-vise-versa/health.svg)

```
[![Health](https://phpackages.com/badges/yevhenii-laravel-migration-vise-versa/health.svg)](https://phpackages.com/packages/yevhenii-laravel-migration-vise-versa)
```

###  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)
