> Symfony 7 >

Course Overview

Login to bookmark this course

Doctrine, Symfony 7 & the Database

Database and Doctrine + Symfony 7 time: learn how to insert and update entities, generate migrations for schema changes, query for data and much more.

  • beginner
  • 528 students
  • EN/ES Captions
  • EN/ES Script
  • Certificate of Completion

About this course

What PHP libraries does this tutorial use?

// composer.json
{
    "require": {
        "php": ">=8.2",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "babdev/pagerfanta-bundle": "^4.5", // v4.5.0
        "doctrine/dbal": "^3", // 3.9.4
        "doctrine/doctrine-bundle": "^2.13", // 2.13.2
        "doctrine/doctrine-migrations-bundle": "^3.3", // 3.4.0
        "doctrine/orm": "^3.3", // 3.3.1
        "knplabs/knp-time-bundle": "^2.2", // v2.4.0
        "pagerfanta/doctrine-orm-adapter": "^4.7", // v4.7.1
        "php-cs-fixer/shim": "^3.46", // v3.65.0
        "phpdocumentor/reflection-docblock": "^5.3", // 5.6.0
        "phpstan/phpdoc-parser": "^1.25", // 1.33.0
        "stof/doctrine-extensions-bundle": "^1.12", // v1.13.0
        "symfony/asset": "7.1.*", // v7.1.6
        "symfony/asset-mapper": "7.1.*", // v7.1.9
        "symfony/console": "7.1.*", // v7.1.8
        "symfony/dotenv": "7.1.*", // v7.1.9
        "symfony/flex": "^2", // v2.4.7
        "symfony/framework-bundle": "7.1.*", // v7.1.6
        "symfony/http-client": "7.1.*", // v7.1.9
        "symfony/monolog-bundle": "^3.0", // v3.10.0
        "symfony/property-access": "7.1.*", // v7.1.6
        "symfony/property-info": "7.1.*", // v7.1.9
        "symfony/runtime": "7.1.*", // v7.1.7
        "symfony/serializer": "7.1.*", // v7.1.9
        "symfony/stimulus-bundle": "^2.13", // v2.22.0
        "symfony/twig-bundle": "7.1.*", // v7.1.6
        "symfony/ux-turbo": "^2.13", // v2.22.0
        "symfony/yaml": "7.1.*", // v7.1.6
        "symfonycasts/tailwind-bundle": "^0.7.1", // v0.7.1
        "twig/extra-bundle": "^2.12|^3.0", // v3.16.0
        "twig/twig": "^2.12|^3.0" // v3.16.0
    },
    "require-dev": {
        "doctrine/doctrine-fixtures-bundle": "^3.6", // 3.7.1
        "symfony/debug-bundle": "7.1.*", // v7.1.6
        "symfony/maker-bundle": "^1.52", // v1.61.0
        "symfony/stopwatch": "7.1.*", // v7.1.6
        "symfony/web-profiler-bundle": "7.1.*", // v7.1.9
        "zenstruck/foundry": "^2.2" // v2.3.1
    }
}

What PHP libraries does this tutorial use?

// composer.json
{
    "require": {
        "php": ">=8.2",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "babdev/pagerfanta-bundle": "^4.5", // v4.5.0
        "doctrine/dbal": "^3", // 3.9.4
        "doctrine/doctrine-bundle": "^2.13", // 2.13.2
        "doctrine/doctrine-migrations-bundle": "^3.3", // 3.4.0
        "doctrine/orm": "^3.3", // 3.3.1
        "knplabs/knp-time-bundle": "^2.2", // v2.4.0
        "pagerfanta/doctrine-orm-adapter": "^4.7", // v4.7.1
        "php-cs-fixer/shim": "^3.46", // v3.65.0
        "phpdocumentor/reflection-docblock": "^5.3", // 5.6.0
        "phpstan/phpdoc-parser": "^1.25", // 1.33.0
        "stof/doctrine-extensions-bundle": "^1.12", // v1.13.0
        "symfony/asset": "7.1.*", // v7.1.6
        "symfony/asset-mapper": "7.1.*", // v7.1.9
        "symfony/console": "7.1.*", // v7.1.8
        "symfony/dotenv": "7.1.*", // v7.1.9
        "symfony/flex": "^2", // v2.4.7
        "symfony/framework-bundle": "7.1.*", // v7.1.6
        "symfony/http-client": "7.1.*", // v7.1.9
        "symfony/monolog-bundle": "^3.0", // v3.10.0
        "symfony/property-access": "7.1.*", // v7.1.6
        "symfony/property-info": "7.1.*", // v7.1.9
        "symfony/runtime": "7.1.*", // v7.1.7
        "symfony/serializer": "7.1.*", // v7.1.9
        "symfony/stimulus-bundle": "^2.13", // v2.22.0
        "symfony/twig-bundle": "7.1.*", // v7.1.6
        "symfony/ux-turbo": "^2.13", // v2.22.0
        "symfony/yaml": "7.1.*", // v7.1.6
        "symfonycasts/tailwind-bundle": "^0.7.1", // v0.7.1
        "twig/extra-bundle": "^2.12|^3.0", // v3.16.0
        "twig/twig": "^2.12|^3.0" // v3.16.0
    },
    "require-dev": {
        "doctrine/doctrine-fixtures-bundle": "^3.6", // 3.7.1
        "symfony/debug-bundle": "7.1.*", // v7.1.6
        "symfony/maker-bundle": "^1.52", // v1.61.0
        "symfony/stopwatch": "7.1.*", // v7.1.6
        "symfony/web-profiler-bundle": "7.1.*", // v7.1.9
        "zenstruck/foundry": "^2.2" // v2.3.1
    }
}

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!

Next courses in the Symfony 7: The Fundamentals section of the Symfony 7 Track!

3 Comments

Sort By
Login or Register to join the conversation
miskynscz avatar miskynscz 2 months ago

Hi!

I have a question about the release of this course. Do you have any info when this course will come out?

| Reply |

Hey @miskynscz!

Look for this to start being released in the next week!

4 | Reply |
miskynscz avatar miskynscz kbond 2 months ago

Fantastic! Really looking forward to!

| Reply |

Delete comment?

Share this comment

astronaut with balloons in space

"Houston: no signs of life"
Start the conversation!