Upgrading
Upgrade DEX safely and keep your database schema in sync.
Upgrade via Composer
To update DEX to the latest stable release:
composer update olajideolamide/dex
Run migrations
After upgrading, run migrations to apply any schema changes:
php spark migrate --all
Back up your database before upgrading across major versions.
Review release notes
DEX is meant to be backwards-compatible, but major versions may change behavior or defaults.
If a new version adds configuration options, you can set them via DEX_* environment variables:
- Configuration Reference — To see a complete reference for every DEX configuration option.