Laravel Database
Work with databases in Laravel: migrations, Eloquent ORM, and forms.

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


Laravel makes working with databases simple and intuitive. Using Eloquent ORM and migrations, you can define your database schema in code and interact with your data using expressive PHP syntax.

In this section you’ll learn how to connect databases, create migrations, and use forms to store and retrieve data.

Lessons in this unit:

0: ▶︎ Introduction
1: Adding a database
2: How to use migrations to create and modify the database schema
3: Using forms to accept user input and store it into the database
4: Adding the form at the bottom of the list
5: Allow users to delete dogs from the list
6: Connecting a database to Laravel
7: How to use migrations to create and modify the database schema
8: Using forms to accept user input and store it into the database