Upscheme is a PHP library designed to simplify database schema migrations and updates by providing an intuitive API that abstracts away much of the boilerplate code typical of manual migrations. It lets developers define, modify, and manage database tables, columns, indexes, foreign keys, and other objects in a structured way, making schema versioning and continuous deployment smoother. With support for major relational database systems via Doctrine DBAL, Upscheme enables cross-platform migrations with minimal code, reducing friction when evolving your application’s data model. The project includes tools to generate migration files, handle dependencies between tasks, and execute changes reliably across environments without requiring low-level SQL scripting. By focusing on upgrades and avoiding potentially unsafe downgrades, it prioritizes safety and predictability for real-world application upgrades.
Features
- Database schema migration API
- Support for tables, columns, indexes, foreign keys
- Works with major relational databases
- Dependency handling between migration tasks
- Code generation for existing schemas
- Safe, upgrade-focused workflow