Registry / database / davedevelopment-phpmig

davedevelopment-phpmig

JSON →
library1.7.0phppackagistunverified

Simple migrations system for PHP database schema changes.

composer require davedevelopment/phpmig
INSTALL
IMPORT
SIG · DAVEDEVELOPMENT-PH
D
davedevelopment-phpmig
databasephpv1.7.0
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.

Sql
use Phpmig\Adapter\PDO\Sql;

Run all pending migrations using PDO adapter.

<?php use Phpmig\Adapter\PDO\Sql; $adapter = new Sql($pdo, 'migrations'); $phpmig = new Phpmig\Migration\Migrator($adapter); $phpmig->up();
Debug
Known issues
gotchaRequires PHP 5.3+; no longer actively maintained.
fix
Consider using phinx or doctrine/migrations.
affects: >=1.0.0
Upgrade
Version history
1.7.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
1
Resources
davedevelopment-phpmig — pip install davedevelopment-phpmig · libregistry