Symfony 6 for Beginners | Learn Symfony 6 | Symfony Full Course | Symfony for Beginners

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии •

  • @QWebDeveloper
    @QWebDeveloper Год назад +18

    You literally just saved my new job by this free course. I refer to this one again and again. Thank you so much

  • @JanJanuszNosacz
    @JanJanuszNosacz 2 года назад +31

    1:31:25 when I press Ctrl+C, Entities Movie and Actor aren't updated. You have to press Enter instead. I don't know if that's only my case, but if someone has similar problem, just press Enter instead of Ctrl+C.

    • @codewithdary
      @codewithdary  2 года назад +1

      Thank you for sharing Jan!

    • @bigboyivan
      @bigboyivan 2 года назад

      Thank you! You are not the only one, I was stuck on this for an hour!

    • @mohammadelnayef
      @mohammadelnayef 2 года назад

      Had the same problem, thanks for the fix.

    • @kaszasandor929
      @kaszasandor929 2 года назад

      thank you

    • @judegang1513
      @judegang1513 2 года назад

      You saved my life man! thanks

  • @adev_312
    @adev_312 2 года назад +9

    I'm moving from Laravel to Symfony and this was a huge help to get me going! Thanks.

    • @codewithdary
      @codewithdary  2 года назад +1

      Love to hear that! :) Thank you

  • @verticeva
    @verticeva 5 месяцев назад +2

    Thanks a lot for the tutorial!! It is great!!
    Here is my summary of the recommended extensions:
    - community material theme
    - php intelephense
    - phpdoc comment
    - php namespace resolver
    - html snippets
    - symfony code snippets
    - symfony for vscode
    - twig, twig langague and twig languague II
    - vscode great icons
    - bracket pair colorizer
    - emmet live

  • @simobermaki
    @simobermaki 6 месяцев назад +13

    When youtube courses are out-of-date, many times you'll find out that some packages or methods are deprecated or obsolete, technology advances at a rapid speed, but there's always a solution.
    I've just started the course a couple minutes ago so here's how you should fix the issues i've found so far:
    1. Don't use annotations, they have been deprecated. Use PHP Attributes.
    2. For the maker, don't modify directly the composer and add laminas, install instead "composer require --dev symfony/maker-bundle"
    I'll be updating this comment with the issues/solutions i've found so far.
    Thanks Dary!

    • @simobermaki
      @simobermaki Месяц назад

      @@dio56301 I switched to the courses from SymfonyCasts i found them to be better.

  • @samuelaniogbu5089
    @samuelaniogbu5089 Год назад +3

    Hi Gary, this is the most comprehensive symfony course on RUclips.
    Perfectly designed!
    Perfectly structured!!
    Perfectly taught!!!
    Kudos to you man!... You explained doctrine better than it's documentation.

  • @AndreGomes
    @AndreGomes Год назад +1

    Ty so much Dary, u help a older programmer from brazil to introduce symfony, i watch your course for 8 or 9 hours, slow and making a full setup with VSCode intead phpstorm that i use before, docker with mysql configurations and deploy on heroku.
    I printed full pdf from symfony book, and now i will reading today drink wine in a ranny day..
    Ty again, best regards.

    • @codewithdary
      @codewithdary  Год назад +1

      Thank you so much Andre, tried my best and I'm glad it helped you. It takes time, but you will get there!

  • @matad2k
    @matad2k 2 года назад +16

    Really great explanation and tempo. Man i feel like in 2000 when you could find great things on Internet

    • @codewithdary
      @codewithdary  2 года назад +6

      Haha that's a dope compliment, thank you!

  • @yipperdeyip
    @yipperdeyip 2 года назад +7

    I was planning to use to use this as a base for some school projects and I did. Best decision I made.
    Passed with flying colours thanks to you! Thank you so much! ❤️

    • @codewithdary
      @codewithdary  2 года назад +1

      Wow, that's incredible. Thank you for watching! :)

  • @JanJanuszNosacz
    @JanJanuszNosacz Год назад +1

    3:05:19 Perhaps it would be better to use route instead of fixed link in "href". If you change the route in future, you would have to remember to also change it in this twig file. But if you use Create new movie instead, it will automatically change every time you change the route.

  • @orkhanfarmanli
    @orkhanfarmanli 2 года назад +3

    You just needed to execute "composer require symfony/maker-bundle --dev" to fix the "make" command. No need for workarounds as this is the official way of setting it up. It's also mentioned in the warning message in the console when you tried executing "make" command without having this bundle.

  • @tricioandrade
    @tricioandrade 2 года назад +5

    Mr. Dary I am very happy to have discovered your channel, I am finishing your Laravel 8 course, soon I will start the Laravel 9 course, made by you. I really like your way of teaching. Just now I discovered your Symphony course 🙆🏾‍♂️ ❤️. Thank you so much for taking the time to create these courses, God bless you 😊.

    • @codewithdary
      @codewithdary  2 года назад +3

      Hi Patricio, thank you for your lovely words. I'm currently working on a Laravel 9 course (as you could see by my latest videos)!

  • @JanJanuszNosacz
    @JanJanuszNosacz 2 года назад +7

    1:52:49 When you renamed AppFixtures to ActorFixtures, the line "use App\Entity\Actor;" was not added automatically, which makes this fixture unusable. Later it magically appears in your code in line 5 :) To all those who have problem with this fixture, remember to manually add this line of code.

    • @ilyesbahfir6602
      @ilyesbahfir6602 2 года назад

      no it added automatically when he create an actor object.

    • @JanJanuszNosacz
      @JanJanuszNosacz 2 года назад +1

      @@ilyesbahfir6602 I guess that depends on your IDE. I use VSC, but if you don't have proper extension, the "use" statement will not be automatically added and fixture won't work.

  • @LOLgarena
    @LOLgarena 2 года назад +1

    Thank you, this is my first time on any framework. The level of detail and explanation is top notch better than other youtube course. If you got any paid courses for symfony sign me up. More symfony content thank you.

    • @codewithdary
      @codewithdary  2 года назад

      Thank you so much, definitely motivates me to make more Symfony content :)

  • @annasargsyan4430
    @annasargsyan4430 2 года назад +7

    Thank you very much! I haven’t worked on frameworks before, but decided to learn. It’s unusal for me working in terminal and I don’t understand some commands, but with practice I hope I would understand. Thank you again for this helping and absolutely free tutorial. Wish you a good luck and lots of success in future ✊🏻🔥

    • @codewithdary
      @codewithdary  2 года назад

      Thank you for being so kind Anna. Interested in learning another framework? I have tons of Laravel tutorials which might help you out :)

    • @rarespetrusamartean5433
      @rarespetrusamartean5433 2 года назад

      Laravel really is used a lot so his recommendation is pretty good to be honest

  • @bluehead_info
    @bluehead_info Год назад +2

    Your "All right" is somehow soothing. :)

  • @Velgan83
    @Velgan83 2 года назад +12

    Exactly what I needed after trying out laravel 9 and being kinda lost on how to add input value to database table and display it properly. I'm gonna dig in your course after tomorrow, thanks a lot for all the efforts you put in.

    • @codewithdary
      @codewithdary  2 года назад +2

      Thank you so much & goodluck!

    • @MrPatishpanj
      @MrPatishpanj 9 месяцев назад

      How did you get lost? What laravel has to do with that?

  • @emotional_stuff
    @emotional_stuff Год назад +1

    The begining is awesome. Clear and easy, no stones underwater waiting for me during the course. Liked it!

  • @williamNshorts
    @williamNshorts Год назад +2

    Best tutorial video I’ve seen on RUclips

    • @codewithdary
      @codewithdary  Год назад

      You just made my day, Willam! Thank you!

  • @luciavanhallen939
    @luciavanhallen939 2 года назад

    i dont know what could understand a person that has never seen Symfony in his live from this video.... i already worked in symfony and i find everything very rapid and fast explained... a newbie would really struggle to understand how works for example the scope of names between model, view, and controller... and i think that's is the most difficult part to achieve confidence with all this framework that controls everything

  • @nielsmeereboer9283
    @nielsmeereboer9283 2 года назад +5

    Great introductionary course. Very well done! Helps me a lot in preparing for my new job where I will be using this framework a lot, even though I am completely new in this line of work. Do you have any recommendations for digging into some more 'advanced symfony' topics?

    • @codewithdary
      @codewithdary  2 года назад +1

      Tbh I have no idea. Haven't really seen a lot of content on YT regarding Symfony :(

  • @jmricker74
    @jmricker74 2 года назад +2

    This has been great! Thank you! I hope you have plans for more. I tried Laravel but I had a hard time getting it to work in docker. I discovered Symfony and it does everything I want. This tutorial was great as it covered a lot of material in a fairly short amount of time. Would definitely like to see more.

  • @dusangrozdic2502
    @dusangrozdic2502 Год назад +4

    Hello Dary, this is by far one of most interesting courses i'v found, and i learned a lot from it! Thank you very much for for your time and effort to make it so dynamic. Unfortunatly symfony is evolving fast, and some features and packages are outdated or not needed now, so we have to adapt :) i hope you will make more videos of symfony, i would be happy to watch and learn from them! thumbs up 👍 hat down 🎩 im very gratefull

    • @codewithdary
      @codewithdary  Год назад +1

      Glad it was helpful, and thank you for all the kind words Dusan!!

  • @Ksedoxxx
    @Ksedoxxx 2 года назад +2

    Great course! I did whole application with you. Nice quality, nice voice, good explained - what more could you want?

    • @codewithdary
      @codewithdary  2 года назад

      Thank you so much Bartosz! You tell me what you need ;)

  • @esirodavies8558
    @esirodavies8558 2 года назад +2

    Simple and straight to point, I love it

  • @kiwi-fella
    @kiwi-fella Год назад +1

    Great course, i really appreciate your time putting this together.
    A couple small things missed in the video have tripped me up - but exploring code & bug fixing makes us understand the code much better 🙂
    However one that stumped me for a while was around time 3:44:09 (Editing Items)
    if(file_exists(
    $this->getParameter('kernel.project_dir') . $movie->getImagePath()
    )){
    the above if() statement used in your example will always return false - it's missing the '/public' section of the path... correct code should be...
    if(file_exists(
    $this->getParameter('kernel.project_dir') . '/public' . $movie->getImagePath()
    )){
    Only mentioning it as it might help a beginner progress to the end of the course - without it the edit page doesn't work properly.

    • @bestmusic737
      @bestmusic737 Год назад

      Thanks a lot! This was exactly what I was missing :)

  • @jnnikolova
    @jnnikolova 2 года назад +2

    Thank you very much for this video. There are a lot of tutorials which are hard to follow, but I've just started your and it's really well paced and explained.

    • @codewithdary
      @codewithdary  2 года назад

      Thank you for your kind words :)

  • @yup9451
    @yup9451 2 года назад +2

    Holy shit. This guide has it all.
    This is gonna be useful for my school project thanks!

  • @karimjedda
    @karimjedda 2 года назад +1

    Fantastic tutorial! Symfony feels so similar to Django it’s surprising. Learned a lot. Thanks

  • @NoahNobody
    @NoahNobody 2 года назад +1

    Thanks for making an updated tutorial. I didn't really understand why you used symfony new appname, then deleted the app and used composer to create a new app.

    • @codewithdary
      @codewithdary  2 года назад

      Just to show the watchers that there are multiple ways on how you could create a Symfony app, it could throw people off that are new!
      Anyways, thank you

  • @AnonymousDeveloper1
    @AnonymousDeveloper1 2 года назад +1

    Looks like I have to watch this course. It seems to be there are not so many courses for Symfony. I hope your will be great.

    • @codewithdary
      @codewithdary  2 года назад +1

      I hope you will enjoy it, share your experience afterwards!

  • @dylanours6488
    @dylanours6488 2 года назад

    Technically your 4th SQL query around 2:12:33 should be something like: SELECT top 1 * FROM movies WHERE id = 6 AND ...

  • @Sasfatu
    @Sasfatu 2 года назад +1

    Hi,
    thank you for this brilliant tutorial on symfony. I really enjoyed watching it.
    One thing I was missing though was an info about the plugin to pimp up your VS Code Terminal.
    Can you please give me a hint for which plugin I need to search in order to have that nice looking Terminal?
    Thanks and Cheers
    Oliver

    • @codewithdary
      @codewithdary  2 года назад

      Because a nicer terminal doesn't affect your Symfony code, so it's not related to the actual content of the video. If you are interested, I've got a separate video on how you could do that: ruclips.net/video/bKUNHPvhsF0/видео.html

  • @phamtungduong8580
    @phamtungduong8580 2 года назад +1

    I would love that you created more deeply on this project

    • @codewithdary
      @codewithdary  2 года назад

      Will definitely do in the future Pham!

  • @urbanlydeclicious
    @urbanlydeclicious 2 года назад +1

    This was great and easy to follow. I'm going to check out your Laravel one next. One thing I would have liked to see here is working with the actors, ie adding actors and assigning them to movies.

    • @codewithdary
      @codewithdary  2 года назад

      Should've added that, but Laravel 9 came out so I couldn't work more weeks on the course :(

  • @mohammedmarsou
    @mohammedmarsou Год назад +1

    Great course, actually one of the best I watched thank you

    • @codewithdary
      @codewithdary  Год назад +1

      That's the best compliment I could get, thank you so much Mohammed!

  • @psy237
    @psy237 Год назад +1

    hands up, who had one to many relationships 🤣😂🤣 Thanks very much for the guidance through symfony, surely seems much faster for the end-visitors than laravel..

  • @rarespetrusamartean5433
    @rarespetrusamartean5433 2 года назад +1

    hey
    great tutorial overall but I'm here to mention that the symfony6-static-movies/templates/movies folder contains the finalized files of the course, not the ones you copy pasted in this tutorial, so people have to guess as to what they're supposed to put into those files, because you don't show their contents even on screen at all
    thank you for the tutorial either way
    EDIT1: also the edit page contains "Create Movie"
    EDIT2: one of your last chapters is named "...dit..." instead of "...edit..."

    • @rarespetrusamartean5433
      @rarespetrusamartean5433 2 года назад

      I mean the differences are pretty small and irrelevant, but it may confuse some beginners

    • @codewithdary
      @codewithdary  2 года назад +1

      Hi Rares, thank you for providing such a detailed feedback, I will look into it!
      Also, thank you so much

  • @zeroualiibtissam4703
    @zeroualiibtissam4703 2 года назад +1

    thanks a lot, you saved my life ,and you're method is just amazing.
    Could you please do video with more advanced features

    • @codewithdary
      @codewithdary  2 года назад

      Definitely will do in the future! :)

  • @elprofesorverdad3444
    @elprofesorverdad3444 Год назад +1

    Hola, te escribo en mi idioma, desde Venezuela, acá adolecemos de muchos recursos, expertos internacionales nos comparan con ruinas de guerra, después de los bombarderos, pero la realidad es peor que eso... este curso nos permite aprender técnicas importantes para obtener ingresos a través de Internet, para organizarnos y cambiar nuestra manera de vivir de forma positiva... en otras palabras, estás cambiando el mundo de manera contundente y real. Quizá no lo habías visto de esa manera, pero para nosotros el conocimiento a este nivel es la cura de las enfermedades, la comida sobre la mesa, y el futuro de nuestros hijos. Gracias es poco. un abrazo desde Venezuela, acá cuentas con otra famila.

  • @mariorobles5202
    @mariorobles5202 9 месяцев назад

    Hello Dary, I would like to ask you something: when you are creating a new blog entry, how can you update the creation date when that operation is done? It is necessary to store that date somewhere?

  • @ETERNAL_VOID
    @ETERNAL_VOID 2 года назад

    Great video, went from knowing nothing about symfony to loads!
    One question:
    is it possible to generate an entity for a already existing database table in symfony 6?

  • @kroonox6848
    @kroonox6848 Год назад

    At 2:46:20 section "how to read blog items" after creating the twig files in the templates folder I keep getting a
    RuntimeError Variable "movies" does not exist.

  • @robertlucic7650
    @robertlucic7650 Год назад +1

    Hi, thanks for the tutorial. I just have one question, what is the purpose of the code in line 87 at 3:44:38?
    It's actually a string, but it's not used in a function or assigned to a variable...

    • @codewithdary
      @codewithdary  Год назад +1

      Thank you Robert. This code is used in Symfony to get the project directory path. The method getParameter() is called on $this, which typically refers to the current class instance. The parameter name 'kernel.project_dir' is passed as an argument to getParameter(), which returns the corresponding value, in this case the project directory path.

    • @meirbek241
      @meirbek241 Год назад

      @@codewithdary there is concatenation with $movie->getImagePath(); but the whole line is not being assigned to any variable. How is this particular line affecting the overall code, could you elaborate please? Maybe I'm missing something?
      Huge thank for the tutorial though, it was very useful to learn Symfony from your channel!

  • @tomasduchon1691
    @tomasduchon1691 2 года назад +2

    Awesome guy ! Thanks

  • @Mastermism
    @Mastermism Год назад +1

    Excellent and coherent tutorial!

  • @alephlau1483
    @alephlau1483 2 года назад +1

    You're awesome, thank u so much for your work.

    • @codewithdary
      @codewithdary  2 года назад

      Means the world to me, thank you so much :)

  • @rogalthomas
    @rogalthomas Год назад

    Great course! Thanks a lot! 🙂

  • @eczeeofficial
    @eczeeofficial 2 года назад +1

    awesome, what extension are you using to se your dbs in vs code? I use SqlTools but can't see the tables as you see them. Thx!

    • @codewithdary
      @codewithdary  2 года назад +2

      Its called Database Client & I love it!

  • @liljefelt
    @liljefelt 2 года назад

    Great course! Thank you for creating it Dary. Small detail; the term pivot table is misused when explaining sql relationships. What you are describing are junction tables.

    • @codewithdary
      @codewithdary  2 года назад

      Hmm, thank you for sharing that with me Andreas, i'll look into it, sounds pretty interesting!

  • @muzafferkarakan
    @muzafferkarakan 2 года назад +1

    Thanks KING!!! 👑

  • @meri1221
    @meri1221 2 года назад +1

    You are brilliant! Thank you for this amazing tutorial : )

    • @codewithdary
      @codewithdary  2 года назад +1

      I should be thanking you for watching :)

  • @LoganAlexanderJohnen
    @LoganAlexanderJohnen 7 месяцев назад

    1:21:00 command symfony console doctrine:database:create just won't work for me. Displays the error:
    "Could not create database `movies` for connection named default
    An exception occurred in the driver: could not find driver"

  • @Klimes212
    @Klimes212 2 года назад +1

    Thank you very much for this super tutorial! I would like to ask you If it is good idea to build JavaScript audio player and visualizer in symfony? Are There better frameworks for this kind of app? Thank you

    • @codewithdary
      @codewithdary  2 года назад

      You can definitely do that, but I would most likely have a look at what packages are available and choose based on that.

  • @luqmanafridi333
    @luqmanafridi333 2 года назад +1

    appreciated ! your hard work, really amazing

  • @sakibyousuf1869
    @sakibyousuf1869 Год назад +1

    Thanks for this content ❤
    Can we get the next part of this project

    • @codewithdary
      @codewithdary  Год назад

      Thank you! I'm not working on anything Symfony related yet :)

    • @sakibyousuf1869
      @sakibyousuf1869 Год назад

      @@codewithdary 😔😔

  • @martinsinansky2817
    @martinsinansky2817 2 года назад

    As usual, Dary, nice and clear explanaition for most things, but I am half way through and one thing still makes no sense to me. What logic justifies using an ordering clause in a single row query? Passing a second array to findOneBy() makes absolutelly no sense, if we actually expect to receive 0 or 1 row from the database. For finBy() we expect to return 0-n entries that meet the set conditions, so ordering makes sense. especially if we have a page that displays the results in a datatable that allows ordering on columns.

  • @stoichooman3045
    @stoichooman3045 2 года назад +1

    The new property to actor doesn't update ManyToMany there is also no property added to the actor class that I can access to the related movie objects there was no error and it was success in the terminal but doesn't show updated

  • @princechisomaga8681
    @princechisomaga8681 Год назад +1

    Nice course, thank you

  • @siddhantpethe
    @siddhantpethe 2 года назад

    A very nice explanation. Thanks 🙏 .

  • @nadetdevfullstack7041
    @nadetdevfullstack7041 2 года назад +1

    Excellent !

  • @ignaciodamiang
    @ignaciodamiang 2 года назад

    This is huge. Thank you very much!

  • @coursdebatterieerwann3216
    @coursdebatterieerwann3216 2 года назад +1

    Hello, thank you very much for your work and help.
    I'm having an issue (well, not sure it is a real issue..): In the data fixtures part, I'm getting an error with my text editor (vscode) saying addReference and getReference methods are undefined but it works when I execute "symfony console doctrine:fixtures:load"
    Do you think it is a problem comming from my IDE ? Anyone got the same "error"?
    Again, many thanks for your video.

  • @Grimsby99
    @Grimsby99 2 года назад +1

    Great tutorial so far however i am getting "Class 'App\Controller\Movie' does not exist" at 2:03:30.

    • @Grimsby99
      @Grimsby99 2 года назад

      I just realised when typing the line em->getRepository(Movie.. i needed to press Enter to select the suggested option of Movie, so it added the use line in of "use App\Entity\Movie".

    • @codewithdary
      @codewithdary  2 года назад

      Happy that you found the solution yourself :)

  • @toprakuzuner3445
    @toprakuzuner3445 2 года назад

    very clear course, thank you so much

  • @vladapetkovic6393
    @vladapetkovic6393 2 года назад

    Thanks Dary ...
    The tutorial is very useful and well done.
    How we can implement data pagination in symphony 6. Is there any bundle for pagination in symfony 6 who does the right thing and has no mistakes in himself?

  • @disconnect3763
    @disconnect3763 2 месяца назад

    Hello guys, do you know how to manage static pages through EasyAdmin? For example, if I need modify "home", or other pages, how I need to do from Easy admin?

  • @anuradhahazra7687
    @anuradhahazra7687 7 месяцев назад

    Sir, one db can use in multiple symfony project ? If is yes then give one video this related and explain totally....

  • @hatimlograini4339
    @hatimlograini4339 2 года назад +3

    اخوكم من المغرب حياكم الله

  • @Chipstouille
    @Chipstouille 2 года назад +1

    Let's be honest, I had to stop in the middle in order to look for a proper explanation of what Twig is actually useful for. Because from the look of things, it just seems like a useless overlayer in the beginning. I'm looking for a framework, and I end up having to learn a new syntax for simple stuff I already know how to implement... Let's be honest, I didn't expect to have to learn a new syntax when looking for a tutorial about a PHP framework. Actually, twig enforces you to use the MVC pattern. That's good ! Spending time on explaning this in the beginning before delving into too many details would be useful... I think. Insisting on how basic PHP can turn into a nightmare would help. That's actually why I want to use a framework. I guess other people with less PHP experience might have no clue... yet!

    • @codewithdary
      @codewithdary  2 года назад +1

      I don't really get your comment, sorry?

    • @phamtungduong8580
      @phamtungduong8580 2 года назад

      @@codewithdary I think he meant to learn pure API ? Cuz the look of Twig made this more likely a web application

    • @codewithdary
      @codewithdary  2 года назад

      @@phamtungduong8580 I haven’t mentioned that we’re going to make an api? So that seems odd

  • @matthewtindall112
    @matthewtindall112 Год назад +1

    Although i set the field type to ManyToMany, and then set the class to Actor the pivot table does not automatically get generated. Within the Actor class, i only get the methods that are related to the properties of itself e.g. getId, getName and setName. I don't have the movies variable, or any of the 'movie' related methods (like 'addMovie'). I am wondering if there is an extra package installed that creates the relationship between the Actor and Movie entity that I am missing?

    • @matthewtindall112
      @matthewtindall112 Год назад

      Scratch this, i had exited the maker:entity command too early, another two hours wasted

    • @codewithdary
      @codewithdary  Год назад +1

      Don't worry wasting time on those things, it's part of coding and you will learn from it :D

    • @matthewtindall112
      @matthewtindall112 Год назад +1

      @@codewithdary Thank you, thanks for the top content too, it's making learning symfony a smoother process than i imagined!

    • @bluehead_info
      @bluehead_info Год назад

      @@matthewtindall112 please elaborate what do you mean exited maker:entity command too early. I got the same problem, but don't understand your explanation. Plz help

    • @bluehead_info
      @bluehead_info Год назад

      @@matthewtindall112 scratch this. Figured it out. hahahaha

  • @younes6713
    @younes6713 Год назад +1

    Hi how did you create pivot table ? was it generated automatically? because it's not working for me. I'm implementing one to many relationship!!

    • @codewithdary
      @codewithdary  Год назад

      The pivot table is created automatically by the Doctrine ORM when the schema is updated.

  • @uraljonjurayev1814
    @uraljonjurayev1814 2 года назад +1

    Thank you very well.

    • @codewithdary
      @codewithdary  2 года назад

      Thank you too for the support Uraljon!

  • @zaruuwa
    @zaruuwa 2 года назад

    That tutorial is awesome😋

  • @danielbedensky4992
    @danielbedensky4992 2 года назад +1

    Hello, can please someone help with doctrine:database:create ?, cause the command still return error :/ "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused"

    • @codewithdary
      @codewithdary  2 года назад

      Wrong database credentials or wrong URL!

  • @byteboxing
    @byteboxing 2 года назад

    Did I just missed something, or did you mention covering ORM relations but then didn't in the CURD / Forms chapter?

  • @murschid
    @murschid 8 месяцев назад

    Kindly make a tutorial series for Symfony API

  • @jeuskofjzjfh
    @jeuskofjzjfh Год назад +1

    is it useful if im working on asymfony 5.4 project?

    • @codewithdary
      @codewithdary  Год назад

      Definitely will be useful. It's not like the entire framework changes when a new version comes up, just minor changes where you might run into.

  • @glamdemarie
    @glamdemarie Год назад +1

    I have a problem, I do not have doctrine commands and when I try to add it by 'composer require symfony/orm-pack ' I get conflics with my symfony version. How can I resolve this?

    • @codewithdary
      @codewithdary  Год назад

      To resolve conflicts when trying to add doctrine commands with "composer require symfony/orm-pack", you can try updating the Symfony version in your project.

    • @glamdemarie
      @glamdemarie Год назад

      @@codewithdary what can I do with this error? Cannot find the entity manager for class "App\Entity\Movie". When I try to update the entity to add a new property I get this error

  • @VipapkStudiosOfficial
    @VipapkStudiosOfficial 2 года назад

    I've been watching all the tutorials from you on Symfony 6 so far, seeing them all in 1 video is gratifying, cheers!
    Are you planning on making an SEO tutorial for Symfony 6 by any chance? :3

    • @codewithdary
      @codewithdary  2 года назад +1

      Nice nice! :)
      Most likely not, I'm sorry.

    • @VipapkStudiosOfficial
      @VipapkStudiosOfficial 2 года назад +1

      @@codewithdary Oh, that's okay! I found a working bundle, called SonataSeoBundle, so no worries! :)
      Btw, having that database INSIDE VSCode is just GENIUS! I was seriously screaming of joy because it's so much easier LOL!

  • @filipdjokovic8480
    @filipdjokovic8480 2 года назад

    At 1:55:50 I am getting a problem with addReference() method, it is undefined method error for some reason, even though everything else is working fine, anybody know a solution?
    Edit: I Fixed it by simply running the fixtures:load and restarting the project. Guess VS Code just went crazy for some reason. No errors or problems after the restart.

  • @najimelguennouni873
    @najimelguennouni873 2 года назад +1

    Thank you * so much bro

  • @dangtantai1332
    @dangtantai1332 2 года назад

    Thank you, dude.

  • @bejokful
    @bejokful Год назад +1

    hello, in my assets folder nothing controllers.json file. how to fix it?

  • @taskdelta9014
    @taskdelta9014 2 года назад +2

    I have this problem!
    [critical] Error thrown while running command "doctrine:database:create". Message: "An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)"
    In ExceptionConverter.php line 103:
    An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
    In Exception.php line 30:
    SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
    In Driver.php line 28:
    SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
    please help I'm trying to figure it out but no results

    • @codewithdary
      @codewithdary  2 года назад

      Your database credentials are not correct.

  • @alexsH9671
    @alexsH9671 2 года назад

    Everything worked beautiful, until I "tested" myself the create method, seems like (at least on my device) that if($imagePath) which should tehnically "solve" the problem I guess... it doesn't, it goes through and print's out a full page of error, saying that the imagePath column cannot be null, and I understand that, but what's the purpose of the IF afterall if it still runs to code, to throw the error, shouldn't that be actually solved from front-end or ... idk, another way ?

  • @bejokful
    @bejokful Год назад +1

    An exception occurred while executing a query: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type integer: "create"
    CONTEXT: unnamed portal parameter $1 = '...'
    Hello i got this error, when accessing create movie menu?

    • @bejokful
      @bejokful Год назад

      I use PostgresSQL datababase

    • @bejokful
      @bejokful Год назад

      I found the solution, is it required to put create() function after index() function? Because error occur if i put create() function after show() function.

    • @codewithdary
      @codewithdary  Год назад

      I just waiting so you found the solution yourself (just kidding)

  • @valerie8031
    @valerie8031 2 года назад +1

    saved my life fr

  • @Doha-hu9qv
    @Doha-hu9qv 2 года назад +1

    thank u so much

  • @lovetolearn269
    @lovetolearn269 Год назад +1

    DAY1 - 45:00
    DAY2 - 01:21:25
    DAY3 - 02:14:25
    DAY4 - 03:03:25
    DAY5 - --:--:-- (most irritating part!)

    • @codewithdary
      @codewithdary  Год назад

      Did you skip day 2?

    • @lovetolearn269
      @lovetolearn269 Год назад

      ​​​@@codewithdary Thanks for the reminder, I was taking a break and this message put full energy in me🔥

  • @TasosStat
    @TasosStat 2 года назад +1

    When I do commands in vscode terminal that start with "symfony" I get an error
    But with composer it works
    Why i that happening?
    I'm using windows and I installed with composer
    I've seen a lot of problems for windows users
    Could someone guide me to a video with a good installation for windows maybe?

    • @codewithdary
      @codewithdary  2 года назад

      Have you installed Symfony CLI?
      symfony.com/download

  • @wc899
    @wc899 Год назад

    Hi i want to use symfony as an API and Vuejs for my frontend, how can i go about this?

  • @kamisarma
    @kamisarma Год назад +2

    Hello. This is a good video generally speaking, but I followed your video step by step and at multiple points there were errors which made me waste a lot of time to debug the problem. For example at around 3:44:00 you make the edit part and you put a curly bracket in the wrong place which makes the image not update when changing it, but in the video somehow it works for you. Really weird. In particular here
    "if(file_exists(
    $this->getParameter('kernel.project_dir') . $movie->getImagePath()
    )){
    $this->getParameter('kernel.project_dir') . $movie->getImagePath();
    ...
    }
    instead of closing the if right after
    Other than a few hiccups like that it is an informative video. Thanks :D

    • @codewithdary
      @codewithdary  Год назад +1

      Thank you so much. Keep working on making it better and better and definitely helps with your feedback!

  • @marcomacaluso7724
    @marcomacaluso7724 2 года назад

    I didn't get any of the auto-generated functions in Actor.php whilst following the Doctrine, Entities and Migrations section. Any ideas? Thanks

    • @codewithdary
      @codewithdary  2 года назад

      Hit enter instead of CTRL+C to close off Doctrine, I think!

  • @ernestoavilahernandez8994
    @ernestoavilahernandez8994 2 года назад

    All is ok, but: The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue. I hate frameworks.

  • @Salamaleikum80
    @Salamaleikum80 9 месяцев назад +1

    Sadly the twig syntax highlighting isn't working anymore even with your json settings.

  • @legonz5047
    @legonz5047 Год назад +1

    did it several times, same as you. But i allways get: The requested URL was not found on this server. error.
    tryed everything i found on google to solve this, but i feel that everything makes things worse
    Can anyone help me please?

    • @codewithdary
      @codewithdary  Год назад

      I can’t really tell what you did based on your comment, please be specific next time

    • @legonz5047
      @legonz5047 Год назад

      @@codewithdary Happy new Year and Thanks.
      I have my local machine on Win 10, setup with Xampp.
      test.local domain is directed to the test.local/public folder. I come to the initial Page of Symfony but whatever route i try, i get a Page not found.

    • @reklamaSauneo
      @reklamaSauneo Год назад

      @@legonz5047
      I use WAMP Server and I need to add .htaccess file to the public directory:
      RewriteEngine on
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php?file=$1 [L,QSA]

  • @abrahaoeneias357
    @abrahaoeneias357 2 года назад +1

    Where to find your presentation?

  • @Dommmin
    @Dommmin 2 года назад

    Could you tell us how to show actor related to movie in twig template? I mean like {{ movie.name }}, {{ movie.actor.name }}?

  • @emotional_stuff
    @emotional_stuff Год назад +1

    cool cool