Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

SymfonyCasts

Doctrine, Symfony 7 & the Database

via SymfonyCasts

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it

Woh! You're already two courses into Symfony. Time to go to warp 11 by "engaging" a database!

This tutorial is all about the database and a library called Doctrine: a powerful ORM that will allow us to talk to a database from inside our Symfony app. With the power of PHP 8 attributes & tools inside Symfony, Doctrine is not only crazy powerful, it's just fun to work with. You are going to love it!

Syllabus

  • Installing Doctrine
  • Database Setup & Docker
  • Starship Entity
  • Migrations
  • Inserting Data via Fixtures
  • Fetching with DQL, the QueryBuilder & find()
  • Cosmic Queries: the Repository Class
  • Alien Tech for Fixtures: Foundry & Faker
  • Pagination
  • Starship Upgrade: Adding Slug and Timestamp Fields
  • Auto Slug and Timestamps with Doctrine Extensions
  • High-Tech Controllers: Auto-inject Entities
  • Black Hole: Deleting Entities
  • Ship Upgrades: Updating an Entity
  • Quantum Refactor: Rich Entities

Taught by

Ryan Weaver and Kevin Bond

Reviews

Start your review of Doctrine, Symfony 7 & the Database

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.