Installation¶
Install Schemage with Composer:
composer require eril/schemage
Composer exposes the package binary at:
vendor/bin/schemage --help
When working inside the Schemage repository itself, the binary can also be executed directly:
bin/schemage --help
Requirements¶
- PHP 8.2+
- PDO
- The PDO extension for the selected database
Supported drivers¶
| Driver | Status |
|---|---|
| MySQL | Supported |
| MariaDB | Supported |
| SQLite | Supported |
| PostgreSQL | Planned |
SQLite support includes driver-specific table recreation for alterations that SQLite cannot perform directly.