There is no license information available for the latest version (1.1.1) of this package.

Corbomite migrations

1.1.1 2019-03-03 03:43 UTC

This package is auto-updated.

Last update: 2022-07-29 02:24:29 UTC



Part of BuzzingPixel's Corbomite project.

Provides a light wrapper around Phinx to make it available to Corbomite.


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

Required 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

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


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


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.


Shows the status of migrations.


Runs any migrations that have not yet been run.


Rolls back the previous migration or to the specified target.


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.


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


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.