> Symfony 7 >

Course Overview

Cosmic Coding with Symfony 7

Feel dangerous with Symfony 7! This tutorial teaches the fundamentals, the how and why while building a real-life web application.

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

Your Guides

About this course

What PHP libraries does this tutorial use?

// composer.json
    "require": {
        "php": ">=8.2",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "php-cs-fixer/shim": "^3.46", // v3.46.0
        "phpdocumentor/reflection-docblock": "^5.3", // 5.3.0
        "phpstan/phpdoc-parser": "^1.25", // 1.25.0
        "symfony/asset": "7.0.*", // v7.0.3
        "symfony/asset-mapper": "7.0.*", // v7.0.2
        "symfony/console": "7.0.*", // v7.0.2
        "symfony/dotenv": "7.0.*", // v7.0.2
        "symfony/flex": "^2", // v2.4.3
        "symfony/framework-bundle": "7.0.*", // v7.0.2
        "symfony/monolog-bundle": "^3.0", // v3.10.0
        "symfony/property-access": "7.0.*", // v7.0.0
        "symfony/property-info": "7.0.*", // v7.0.0
        "symfony/runtime": "7.0.*", // v7.0.0
        "symfony/serializer": "7.0.*", // v7.0.2
        "symfony/stimulus-bundle": "^2.13", // v2.13.3
        "symfony/twig-bundle": "7.0.*", // v7.0.0
        "symfony/ux-turbo": "^2.13", // v2.13.2
        "symfony/yaml": "7.0.*", // v7.0.0
        "symfonycasts/tailwind-bundle": "^0.5.0", // v0.5.0
        "twig/extra-bundle": "^2.12|^3.0", // v3.8.0
        "twig/twig": "^2.12|^3.0" // v3.8.0
    "require-dev": {
        "symfony/debug-bundle": "7.0.*", // v7.0.0
        "symfony/maker-bundle": "^1.52", // v1.53.0
        "symfony/stopwatch": "7.0.*", // v7.0.0
        "symfony/web-profiler-bundle": "7.0.*" // v7.0.2

Symfony 7, yes! If you're ready to get serious about web dev - whether you're building a JSON API or a rich web app - you've come to the right place! Symfony is the famous backbone for the most popular PHP libraries, embraces object-oriented best practices and... it's just fun to use!

I want you to feel dangerous with Symfony and love the process! In this tutorial, we get to learn the fundamentals of Symfony, build real stuff and learn the how and why behind how things work. And... we'll do it by building a space-themed site (because I'm a sci-fi geek):

  • Create a new (and tiny!) Symfony app (it's lean but mean)
  • Set up a local web server with the symfony binary
  • Get your editor (PHPStorm) + plugins primed for Symfony
  • Dive into Symfony Flex & the "recipes" system
  • Add some 3rd party packages and bundles
  • Routes, controllers and Responses!
  • The mighty bin/console tool
  • Head-first into Twig & templating
  • Your new favorite debugging tool: the web debug toolbar
  • Simple, but crazy-powered CSS & JS setup with AssetMapper!
  • Install & Running Tailwind CSS
  • Intro into Stimulus & Turbo for JavaScript & an SPA (single page app) feel
  • Create a JSON API endpoint
  • All-important "service objects": a quick tour of using them and creating your own
  • Say hello to MakerBundle

Let's boldly go!


Sort By
Login or Register to join the conversation

Lo Mejor de los Mejores!!!
Can't wait to start this course!

7 | Reply |

Hey @john-erney-rojas ,

Thank you for your interest in SymfonyCasts tutorials! This course should be the next and we will start releasing it very soon :)


5 | Reply |

This is the best place to learn how to handle any version of Symfony.
Until now, I am still perplexed, but also happy, by the creation of the Assetmapper component with which it is no longer necessary to use Webpack encore. Will AssetMapper be the final nail in the coffin of node, npm, yarn and Webpack encore?
I don't know what new surprises Symfony 7 will bring, I just hope it brings new game changer features like the AssetMapper component.

2 | Reply |

Hey @simfonyace ,

That's the plan with the AssetMapper actually! But you know, the programming world is changing quickly :) But AssetMapper really has a big potential to stay on top pretty long.


| Reply |
Jon_Niola avatar Jon_Niola 2 months ago

Not so much a question, but more a comment - kudos on the new UI! I am really enjoying the new user experience you guys have put in place the last few weeks. Cheers!

| Reply |

Hey Jon,

Thank you for the feedback! We're really happy to hear it :) More redesigned pages are coming soon.


| Reply |
odds avatar odds 3 months ago edited

TOP: great courses and very clear instructions. I only program for fun, but I have no problem understanding your tutorials and I learned a lot!
TIP: It feels you're not finishing tutorials before the next big Symfony upgrade where you start from scratch (is that really necessary(?!); Symfony 4 Track: 8 courses; Symfony 5 Track: 5 courses; Symfony 6 Track: 3 courses: Symfony 7 Track: first course announced... Maybe just focus on the differences between the previous and the new version?

TOP: you keep your courses up to date, going into latest developments (like Turbo for instance)
TIP: Symfony 7 goes into SPA, could you also include PWA (Progressive Web App)?

Keep on rocking!

| Reply |

Hey @odds!

Thanks for the nice comment - I appreciate you!

It feels you're not finishing tutorials before the next big Symfony upgrade where you start from scratch

That's super true - and my fault for Symfony 6. We're going to be better for Symfony 7. Unfortunately, we can't just focus on the differences between the versions or point people at a Symfony 6 tutorial and say "this is still relevant". Well, we do that sometimes, but it's not ideal. When people are learning Symfony "7", they really need all the tutorials to be consistent, full & new for that version. That being said, it is a challenge to update all of them. But we're improving some processes internally. We just need to be faster :).

TIP: Symfony 7 goes into SPA, could you also include PWA (Progressive Web App)?

I've been diving into this lately! Expect to see this topic coming up - hopefully with a tutorial - this year. Related PR: https://github.com/symfony/ux/pull/1350


| Reply |

Delete comment?

Share this comment

astronaut with balloons in space

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