PHPackages                             repat/laravel-migration-model - 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. repat/laravel-migration-model

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

repat/laravel-migration-model
=============================

Eloquent Model for the migrations table

0.7(2y ago)14.0kMITPHPPHP &gt;=5.6

Since Feb 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/repat/laravel-migration-model)[ Packagist](https://packagist.org/packages/repat/laravel-migration-model)[ Docs](https://repat.de)[ RSS](/packages/repat-laravel-migration-model/feed)WikiDiscussions master Synced 3w ago

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

laravel-migration-model
=======================

[](#laravel-migration-model)

[![Latest Version on Packagist](https://camo.githubusercontent.com/833604ca5c4c1ee37aa7d0917510598449ce382405d83cda5159374c5581debb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72657061742f6c61726176656c2d6d6967726174696f6e2d6d6f64656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/repat/laravel-migration-model)[![Total Downloads](https://camo.githubusercontent.com/009584a9da4a8249d0581eb3cfaf2188653e3de8f083502c7bf5a2277308d48b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72657061742f6c61726176656c2d6d6967726174696f6e2d6d6f64656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/repat/laravel-migration-model)

**laravel-migration-model** contains one Eloquent model for the `migrations` table.

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

[](#installation)

`$ composer require repat/laravel-migration-model`

Documentation
-------------

[](#documentation)

#### Attributes/Methods

[](#attributesmethods)

```
$migration = \Repat\Laravel\Migration::first();

// Attributes from table
$migration->id;
$migration->migration;
$migration->batch;

// Mutator attributes
$migration->filename;

// Methods
$migration->fileExists();

// list all files from migrations folder
$migrations = Migration::listFiles();

// list all files from migrations folder as migration name (without '.php')
$migrations = Migration::listFiles(true);
```

License
-------

[](#license)

- MIT, see [LICENSE](https://github.com/repat/laravel-migration-model/blob/master/LICENSE)

Version
-------

[](#version)

- Version 0.7

Contact
-------

[](#contact)

#### repat

[](#repat)

- Homepage:
- e-mail:
- Twitter: [@repat123](https://twitter.com/repat123 "repat123 on twitter")

[![Flattr this git repo](https://camo.githubusercontent.com/7e3f46a36526479d701ef7f90a0f8c3ac2fbab3087446e2a9fceed75cd1ab802/687474703a2f2f6170692e666c617474722e636f6d2f627574746f6e2f666c617474722d62616467652d6c617267652e706e67)](https://flattr.com/submit/auto?user_id=repat&url=https://github.com/repat/laravel-migration-model&title=laravel-migration-model&language=&tags=github&category=software)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~186 days

Recently: every ~355 days

Total

9

Last Release

818d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/405dab243007488e7e7851422e5864a9312aee36058d60f1e6d623232c4d3131?d=identicon)[repat](/maintainers/repat)

---

Top Contributors

[![repat](https://avatars.githubusercontent.com/u/516807?v=4)](https://github.com/repat "repat (11 commits)")

---

Tags

laravelmigrationmodeleloquentartisanmigrations

### Embed Badge

![Health badge](/badges/repat-laravel-migration-model/health.svg)

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

###  Alternatives

[dragon-code/laravel-deploy-operations

Performing any actions during the deployment process

244207.7k2](/packages/dragon-code-laravel-deploy-operations)[waad/laravel-model-metadata

A robust Laravel package for handling metadata with JSON casting, custom relation names, and advanced querying capabilities.

854.1k](/packages/waad-laravel-model-metadata)[mozex/laravel-scout-bulk-actions

Import, flush, and queue-import all your Laravel Scout searchable models at once. Auto-discovers models, runs in bulk, tracks progress.

1437.7k](/packages/mozex-laravel-scout-bulk-actions)

PHPackages © 2026

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