sqlite

  • 2023-03-28

Adding SQLite In-Memory Database for PHPUnit

Laravel by default uses MySQL for it's database setup, but I typically like to use SQLite when possible for simplicity and ease of use. When bootstrapping a new app with Sail and no database configured your PHPUnit config can use a quick tweak to use SQLite in memory.

Read More