Registry / database / robmorgan-phinx

robmorgan-phinx

JSON →
library2.0.2phppackagistunverified

Phinx makes it ridiculously easy to manage the database migrations for your PHP app.

composer require robmorgan/phinx
INSTALL
IMPORT
SIG · ROBMORGAN-PHINX
R
robmorgan-phinx
databasephpv2.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AbstractMigration
use Phinx\Migration\AbstractMigration;

Define a database migration using Phinx

use Phinx\Migration\AbstractMigration; class MyMigration extends AbstractMigration { public function change() { $table = $this->table('users'); $table->addColumn('name', 'string') ->addColumn('email', 'string') ->create(); } }
Debug
Known issues
breakingPhinx 2.x requires PHP 8.1 or higher
fix
Upgrade PHP to 8.1+ or use Phinx 1.x for older PHP versions
affects: >=2.0.0
Upgrade
Version history
2.0.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
robmorgan-phinx — pip install robmorgan-phinx · libregistry