Skip to main content
No application is complete without a data store! In this section, you’ll find references on how to connect your Laravel application to Databases running as Fly Apps or as managed solutions from services that suits global distribution of data. Lastly, you can check the last section, ā€œLaravel Database Migrationā€ for a guide on how to run the classic Laravel command, ā€œphp artisan migrateā€, in Fly.io.

Laravel and MySQL

Notes and configurations on connecting with the relational database classic, MySQL

Laravel and PostgreSQL

Notes and configurations on connecting with the object-relational database system, PostgreSQL

Laravel and Redis

Notes and configurations on connecting with the ā€œin-memory data storeā€, Redis

Laravel and SQlite

Notes and configurations on using the bundle-able SQL database engine, SQLite

Laravel Database Migration

Different ways to run the classic Laravel database migration command with Fly.io