Build a Laravel application with a MySQL database
Feb 15, 2022Holly Guevara

Summary
This post details how to build a Laravel application with a PlanetScale MySQL database. It covers setting up a PlanetScale database, creating branches for development and production, connecting the Laravel application using credentials, defining database schema with migrations, and populating the database with seeders and factories. It specifically demonstrates the use of PlanetScale's branching and deploy request workflow for managing schema changes and highlights the integration with Laravel's ORM (Eloquent) and migration system.