Database guides

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