PHPackages                             buzzingpixel/corbomite-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. buzzingpixel/corbomite-migrations

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

buzzingpixel/corbomite-migrations
=================================

Corbomite migrations

1.1.1(7y ago)05714PHPPHP &gt;=7.2

Since Jan 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/buzzingpixel/corbomite-migrations)[ Packagist](https://packagist.org/packages/buzzingpixel/corbomite-migrations)[ RSS](/packages/buzzingpixel-corbomite-migrations/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (6)Used By (4)

Corbomite Migrations
====================

[](#corbomite-migrations)

[![](https://camo.githubusercontent.com/a8e7d1a287b83c042da8877529298cbdedf58e22d85d33536c446423a172df7d/68747470733a2f2f7472617669732d63692e6f72672f62757a7a696e67706978656c2f636f72626f6d6974652d6d6967726174696f6e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/buzzingpixel/corbomite-migrations)

Part of BuzzingPixel's Corbomite project.

Provides a light wrapper around [Phinx](https://phinx.org/) to make it available to Corbomite.

Usage
-----

[](#usage)

### APP\_BASE\_PATH constant

[](#app_base_path-constant)

You can define `APP_BASE_PATH` as a constant to give Corbomite DB knowledge about the app's base path, otherwise Crobomite DB will try to figure it out automatically.

### Environment variables

[](#environment-variables)

#### Required environment variables

[](#required-environment-variables)

- `DB_DATABASE`
- `DB_USER`
- `DB_PASSWORD`

#### Optional environment variables

[](#optional-environment-variables)

- `PHINX_MIGRATION_TABLE` (default: `migrations`)
- `PHINX_ADAPTER` (default: `mysql`)
- `DB_HOST` (default: `localhost`)
- `DB_PORT` (default: `3306`)
- `DB_CHARSET` (default: `utf8mb4`)
- `DB_COLLATION` (default: `utf8mb4_general_ci`)
- `PHINX_VERSION_ORDER` (default: `creation`)

### CLI commands

[](#cli-commands)

Once you've composer required into your Corbomite project, there will be some new commands available on the command line.

#### `migrate/create-sample-config`

[](#migratecreate-sample-config)

Creates a `phinx.php` config file with sample values at the root of your project.

#### `migrate/create`

[](#migratecreate)

Creates a migration file in the directory specified in your `phinx.php` config file.

You can also provide an argument to name the migration and skip the question asking what the name of the migration should be.

#### `migrate/status`

[](#migratestatus)

Shows the status of migrations.

#### `migrate/up`

[](#migrateup)

Runs any migrations that have not yet been run.

#### `migrate/down`

[](#migratedown)

Rolls back the previous migration or to the specified target.

#### `seed/create`

[](#seedcreate)

Creates a seeder class.

You can also provide an argument to name the seeder class and skip the question asking what the name of the seeder should be.

#### `seed/run`

[](#seedrun)

Runs seeders. If no argument is provided, all seeders will be run. Provide the class name to run a single seeder

License
-------

[](#license)

Copyright 2019 BuzzingPixel, LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

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 ~19 days

Total

4

Last Release

2624d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.1

1.1.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/3749c595e494c26b1d9772c64f126c2f64f0d5057736dc5986d2f305432896ba?d=identicon)[buzzingpixel](/maintainers/buzzingpixel)

---

Top Contributors

[![tjdraper](https://avatars.githubusercontent.com/u/3803475?v=4)](https://github.com/tjdraper "tjdraper (35 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/buzzingpixel-corbomite-migrations/health.svg)

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

###  Alternatives

[odan/phinx-migrations-generator

Migration generator for Phinx

235847.8k23](/packages/odan-phinx-migrations-generator)

PHPackages © 2026

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