PHPackages                             justbetter/statamic-eloquent-driver-globalset-migration-generator - 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. justbetter/statamic-eloquent-driver-globalset-migration-generator

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

justbetter/statamic-eloquent-driver-globalset-migration-generator
=================================================================

Creates a database migration when a new globalset is created

0.1.0(3y ago)44.3k1PHP

Since Jun 1Pushed 1y ago3 watchersCompare

[ Source](https://github.com/justbetter/statamic-eloquent-driver-globalset-migration-generator)[ Packagist](https://packagist.org/packages/justbetter/statamic-eloquent-driver-globalset-migration-generator)[ RSS](/packages/justbetter-statamic-eloquent-driver-globalset-migration-generator/feed)WikiDiscussions master Synced 3w ago

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

Archived
========

[](#archived)

With the release of Statamic [4.16.0](https://github.com/statamic/cms/releases/tag/v4.16.0) and Eloquent driver [4.4.0](https://github.com/statamic/eloquent-driver/releases/tag/v4.4.0) this is no longer needed. We can now set the [global sets in the config](https://github.com/statamic/eloquent-driver/blob/master/config/eloquent-driver.php#L60). This creates a file with settings on creating a global. This will tell Statamic on other environments that this global exists. The data of that global will still be stored in [it's own table](https://github.com/statamic/eloquent-driver/blob/master/config/eloquent-driver.php#L65) when set to eloquent.

Statamic Eloquent Driver Globalset Migration Generator
======================================================

[](#statamic-eloquent-driver-globalset-migration-generator)

When you're using the [Statamic Eloquent Driver](https://github.com/statamic/eloquent-driver) creating a new globalset will result in a new entry in the `global_sets` table. If you're working with multiple environments like [DTAP](https://en.wikipedia.org/wiki/Development,_testing,_acceptance_and_production); that new entry isn't visible on the next environment in the row after committing your changes. This package aims to fix that problem by creating a database migration for it. This way you can commit the migration and the entry will be made when you run `php artisan migrate` on deployment. More info: [\#128](https://github.com/statamic/eloquent-driver/issues/128)

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

[](#installation)

```
composer require justbetter/statamic-eloquent-driver-globalset-migration-generator

```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% 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

Unknown

Total

1

Last Release

1121d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d00b3f55cd4ae8b8cfb001a644ed6c7a1127a956c24375bcfe16ce12bd89bed?d=identicon)[justbetter](/maintainers/justbetter)

---

Top Contributors

[![royduin](https://avatars.githubusercontent.com/u/1703233?v=4)](https://github.com/royduin "royduin (8 commits)")[![BobWez98](https://avatars.githubusercontent.com/u/23509926?v=4)](https://github.com/BobWez98 "BobWez98 (1 commits)")[![Roene-JustBetter](https://avatars.githubusercontent.com/u/85165259?v=4)](https://github.com/Roene-JustBetter "Roene-JustBetter (1 commits)")

### Embed Badge

![Health badge](/badges/justbetter-statamic-eloquent-driver-globalset-migration-generator/health.svg)

```
[![Health](https://phpackages.com/badges/justbetter-statamic-eloquent-driver-globalset-migration-generator/health.svg)](https://phpackages.com/packages/justbetter-statamic-eloquent-driver-globalset-migration-generator)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k54.1M11.1k](/packages/illuminate-database)[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k29.9M42](/packages/kirschbaum-development-eloquent-power-joins)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8723.1M23](/packages/yajra-laravel-oci8)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135212.4k7](/packages/statamic-rad-pack-runway)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.4M2](/packages/glushkovds-phpclickhouse-laravel)[lemaur/eloquent-publishing

207.8k1](/packages/lemaur-eloquent-publishing)

PHPackages © 2026

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