Enjoy guys. I had to tend to my PHP peeps. Oh and I called the app symphart because symfart just didn't feel right :0. Don't forget to like and share
@thatdooddillon6 жыл бұрын
Thank you Brad! I'm getting started learning Symfony to get ahead on an upcoming internship, and your videos have helped me immensely, all the best!
@ginoahmad46946 жыл бұрын
used $ composer install for your project from guthub as instructed but got this error: [ErrorException] Declaration of Symfony\Flex\ParallelDownloader::getRemoteContents($originUr l, $fileUrl, $context) should be compatible with Composer\Util\RemoteFilesy stem::getRemoteContents($originUrl, $fileUrl, $context, ?array &$responseHe aders = NULL)
@JonNiola5 жыл бұрын
Brad I really liked your Symfony videos. Among the best there are on KZbin. Wish you'd do more of them.
@ZenAzou5 жыл бұрын
yeah, Symfart would've been too fart-y :xd
@johnnyt.76194 жыл бұрын
i'm learning programming as a digital marketer, thanks for your tutor guides and make my life much easier
@Dragonaz5 жыл бұрын
"Symfony\Bundle\FrameworkBundle\Controller\Controller" Replaced with "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
@mikeprus26904 жыл бұрын
And also: class ArticleController extends Controller became to class ArticleController extends AbstractController
@kennymui55864 жыл бұрын
THANK YOU!
@BR-ro3tf4 жыл бұрын
Thank you!
@oussamaml41614 жыл бұрын
Can't thank you enough Drago and Nikita
@galaxysamsung33204 жыл бұрын
Oh, this saved me so much time. Thanks! Nikita Prus, Dragonaz TN
@pranansubba95876 жыл бұрын
Symfony 4 tutorial... oh my god... You heard my prayers... thanks Brad, your are awesome....
@florianhermann15586 жыл бұрын
Hi Brad, it's nice to see you finally using my favourite framework! Thanks to promote it :) There are some tips from a Symfony developer : - You don't tell a lot about it, so I will suggest to viewers to have a look at Symfony Flex which is the major change in Symfony 4. Basically, it is built on the top of composer and allows to install bundles with preconfiguration. - You can start a project using symfony/website-skeleton instead of symfony/skeleton. This skeleton follows the basic symfony 3 skeleton in term of dependencies. It's better for beginners who don't know all the symfony dependencies that they need. You can still remove some of them easily thanks to Symfony Flex. - Use the Symfony Maker bundle which is the new way to generate skeleton code for your controllers, entities, form and even basic crud based on an entity. Moreover, the skeleton code will follow best practices and will depend on your dependencies
@JinTwisT6 жыл бұрын
I can say my favorite dev teacher. I learned a lot from you in past years and every day you make my life easier! Thank's because of you and people like you who love to share knowledge I love my job that I'm working
@stormybear49863 жыл бұрын
Brad, I'm amazed at how fluently you know your Bootstrap classes! Big Props!
@stormybear49863 жыл бұрын
Watching you build that navbar from scratch was a thing of beauty! I want to be you when I grow up as a developer!
@stefan48006 жыл бұрын
Yeah, Laravel is full of 'magic'. Many things in Laravel I do in native PHP and later on find out the Laravel way of doing things which was far easier way, but I'm glad I actually do it in the harder way first because that make me a better programmer. People really should learn the raw PHP first because if they rely only on Laravel and take solutions out of the box, they will be handicapped. Anyway, I'm always glad when I see the new PHP stuff on Brad's channel and I'm glad he didn't become fully hysterical Node hipster. :D Thanks Brad!
@agil-j4n6 жыл бұрын
kanaltut well to be honest, you won't be able to do everything in laravel unless you learn the php way, when things don't make sense, you don't actually learn it. I'm still gonna stay with Laravel. It's so clean and beautiful. Lets you start doing your code without worrying about certain things
@ThemisTheotokatos6 жыл бұрын
Thank you. I almost always get criticized for actually working in native php. I understand that knowing a framework will boost your job but I agree with you, just learning the framework and not php will handicap you. We need both.
@retiar21116 жыл бұрын
DUUUDE, THIS IS PURE AWESOMENESS, I JUST GOT A JOB ON UPWORK AND NEED SOME SYMFONY KNOWLEDGE!!! YOURE MY SAVIOR LOVE YOU BRAD! FAN SINCE 2016!
@Douli9746 жыл бұрын
I was looking for a good tutorial on symfony 4, thank you for reading my thoughts ! Your videos are really addictive !
@GameOver78536 жыл бұрын
Douli Abdallah lol
@EnricoPascucci6 жыл бұрын
First of all: beautiful tutorial! Then, I have a request for you: Is it possible to see your VS Code setup?
@rotimibest85306 жыл бұрын
Just every time I need to learn a new technology, Brad comes up with a complete tutorial on it. Thanks for making our journey easier and faster. Thumbs up..
@elise60275 жыл бұрын
Just beginning Symfony 4, and this is the best tutorial I found Thank you, this helped me so much understanding how all these works !
@galaxysamsung33204 жыл бұрын
If you want AutoComplete (Emmet) in your "html.twig" files you must edit some stuff in VSCode. Go to: File -> Preferences -> Settings 》 Extensions 》 Emmet 》 under "Include Languages" click "Edit in settings.json", then under "workbench.colorTheme" but before closing "}" add this: "files.associations": { "*html.twig": "html" }, "emmet.includeLanguages": { "twig": "html" }
@jondyason3363 жыл бұрын
Im half way through. Just wanted to say thanks for this great tutorial!
@EnzoAguiar6 жыл бұрын
I was looking forward to this version, i'm using an old version based on your first symfony series. Thanks so much Brad!
@chawkichalladia18126 жыл бұрын
you the best man, i was just looking for some sort of tutorial on symfony
@AndrewErwin736 жыл бұрын
I really love Laravel and use it quite often. But, Symfony seems to offer a lot more (for lack of a better word) configuration... one thing I really like is that you can set non-existent routes in your template (Laravel will give you an error when you do this). Not sure why I never checked out Symfony before, but I am glad I came across this video. Thanks, Brad...again!
@AndrewErwin736 жыл бұрын
@John Smith I wouldn't say that it is built ON symphony, it is modular and uses a bit of code from many different projects. For example, Symfony uses Doctrine as its ORM where Laravel uses Eloquent. Symfony uses Twig as its template engine, Laravel uses Blade (which as far as I can tell is proprietary)... the vendor folder of a full Laravel install is something like 200 MB... HUGE!
@AndrewErwin736 жыл бұрын
@John Smith fair enough! :)
@hassanelghafoud4 жыл бұрын
This is the best tutorial I found about Symfony 4. Great job! Thank you.
@wiktorliszkiewicz3546 жыл бұрын
More videos like this man. Great job ;) I would love to see Symfony 4 seria to continue, to more advance topics.
@DhiaMagicien5 жыл бұрын
Class "Symfony\Bundle\FrameworkBundle\Controller\Controller" not found while loading "App\Controller\ArticleController".
@ssnieckus04 жыл бұрын
Same problem here
@DhiaMagicien4 жыл бұрын
@@ssnieckus0 i found solution , dont use Symfony\Bundle\FrameworkBundle\Controller use instead : Symfony\Bundle\FrameworkBundle\Controller\AbstractController
@anasamoukova68594 жыл бұрын
@@DhiaMagicien Thanks a lot!
@DhiaMagicien4 жыл бұрын
@@anasamoukova6859 welcom
@Raaampage5 жыл бұрын
Thanks, that's a perfect way to start approaching Symfony in my opinion :) I hope I'll be able to follow along because Symfony videos on KZbin tend to start easy but in 3 videos you're lost lol :D
@blindsniper1416 жыл бұрын
Yes! I was just looking for complete symfony walkthroughs! Thanks!
@petemartinez30176 жыл бұрын
This is really good! First Windows tutorial I have seen on this subject. Only thing I did differently was use IIS. Nice Job! Thanks
@Piano_Albert5 жыл бұрын
This was exactly what I was looking for, thank you Brad
@TECHNOLOGYFAQ6 жыл бұрын
Brad your videos are very helpful. You are really doing a great work. Thanks. Please make a series on Fat-Free-Framework.
@origami77495 жыл бұрын
I love annotated routes. ty for sharing!
@m4tt726 жыл бұрын
This came out just when i needed it, Thank you so much sir
@puffkitty0073 жыл бұрын
At 15:52 the browser for me shows the index of / and the maps. I need to go to symphart.test/symphart/public to show the response. The @Route("/) won't work for me for some reason.
@jitenderk49755 жыл бұрын
Thanks Brad for this video. Its pretty good and easy to understand
@MajidLiaquat6 жыл бұрын
Hello, I am confused about "/skeleton" in 5:06. What does it mean?
@bidam19846 жыл бұрын
You made me love PHP again
@karolf16906 жыл бұрын
23:40 How did you managed to change from navbar.navbar etc to navbar class with nav tags?
@karolf16906 жыл бұрын
I got this - just hit TAB
@omarelrafhi95955 жыл бұрын
NEED HELP :), i have a very specific issue: i changed my xampp port to 8012, then i wrote this in my apache vhost file: DocumentRoot "C:/xampp/htdocs/symphart/public" ServerName symphart.test then after running the hosts file in C:\Windows\System32\drivers\etc : with notebad in admin mode, i added this: #this is for symphart site 127.0.0.1:8012 symphart.test when i want to enter: symphart.test , it doesnt open and gives me: we're having trouble finding that site! what can be the problem? thanks!
@engsiyad6 жыл бұрын
Brad can you please make KZbin video or course about microservices?
@TraversyMedia6 жыл бұрын
Sure, this is a general series but we can do something with microservices in the future
@christopherjr.dalisay43314 жыл бұрын
do I need to install symfony before running composer create-project symfony/skeleton ?
@preslavgetov45084 жыл бұрын
Just a word in here: I know this is an older tutorial, and Symfony now is at S5 but the way that you can actually view your project after setting up the server, editing the host file etc (big disclaimer - at least for me) is to do *localhost/index.php* not localhost whatever the name of the project was. Just a heads up because I spent like 15 minutes searching for a solution and just on a whim tried what I explained earlier. I am a noob btw so you know..
@alexweissnicht95456 жыл бұрын
Hey, I have a problem, I get the following error: [Semantical Error] The annotation "@Sensio\Bundle\FrameworkExtreBundle\Configuration\Method" in method App\Controller\articlecontroller::index() does not exist, or could not be auto-loaded in C:\xampp\htdocs\symphart\config/routes\..\..\src\Controller\ (which is being imported from "C:\xampp\htdocs\symphart\config/routes/annotations.yaml"). Make sure annotations are installed and enabled. Thank you for ideas :-)
@luciomfv6 жыл бұрын
Go to git bash and run this command on your project folder: "composer require sensio/framework-extra-bundle". It worked for me. Source: symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
@alexweissnicht95456 жыл бұрын
Thank you :-)
@waldemarmalecki90506 жыл бұрын
Thanks - everything ok - especially today was useful to me the part about xampp configure and the DB - MySql configure symfony-XAMPP in next video. I have seen two parts so far I say one - GRAT JOB - Thank You
@NeverCodeAlone4 жыл бұрын
Nice overview and speed...thank you!!
@CodeSOS4 жыл бұрын
Very informative tutorial. Thanks for sharing. 👍
@kiranbabusannapu13853 жыл бұрын
Great explanation and great video
@krawallbruderhamburg6 жыл бұрын
Hey Brad thank you for all your work an passion with your youtubechannel. beside watching the adds in the videos i wanted to donate you a few bugs. PP makes it very hard to donate. but in the end it made it. then i visit your homepage and found out, that you have a patreon page. maybe you should put that a bit more public .. including the PP-Donationlink. i dont think anyone here will be angry about it. i learned a lot on your channel, earn my money with it, give back to you. no problem. best regards from Hamburg / Germany. I will watch the symfony 4 course now and spend the day off on the computer. :) Jens
@krawallbruderhamburg6 жыл бұрын
btw. after donation via PP i get redirected to: www.techguywebsolutions.com/?tx=7JG92516EY370564J&st=Completed&amt=20.00&cc=USD&cm=&item_number= That is your old company ... i hope you get the money anyway.
@jimjrivan6 жыл бұрын
I like so much by this video, i did learn quickly. Symfony is a powerful php framework. I like so much to work with him. Congrats!!
@nip3605 жыл бұрын
I don't need template engines at all. Can I avoid to use them? Just pure PHP as template engine.
@ChintanUmarani6 жыл бұрын
Hi Brad, Which extension you are using to autocomplete HTML and CSS ?
Quick question how did you get "Emmet Abbreviations" to work when you are editing a twig file?
@kasunmadhuwantha5 жыл бұрын
@Alec Rusu thanks
@anterpants5 жыл бұрын
OK, seriously? This solution is gone now? This is my biggest gripe with this video, I can't keep up without pausing to manually type all this stuff out!
@anterpants5 жыл бұрын
Finally found it, go to %appdata%\code\user and edit settings.json and add: "files.associations": { "*.html": "twig" }, "emmet.includeLanguages": { "twig": "html" }, What a pain.
@galaxysamsung33204 жыл бұрын
@@anterpants Thank you, I tried it and didn't work. Looks like it needs to be modified like this: In VS Code, go to: File -> Preferences -> Settings 》 Extensions 》 Emmet 》 under "Include Languages" click "Edit in settings.json", then under "workbench.colorTheme" but before closing "}" add this: "files.associations": { "*html.twig": "html" }, "emmet.includeLanguages": { "twig": "html" }
@eddier.67492 жыл бұрын
Hi Brad. Just started following this video, thanks for this. I'm having a hard time updating the host file in etc. I tried everything but can't do it.
@finskou5 жыл бұрын
This is the tutorial I've been looking for
@webcrucialukwebsitedevelop19435 жыл бұрын
hi what is the shortcut key in visual studio for adding class/div tags?
@meet_sid5 жыл бұрын
It is Emmet snippets.
@brobinbraauw55236 жыл бұрын
At 5:25 when you create the project using "composer create-project symfony/skeleton symphart" it gives me the error "[InvalidArgumentException] Could not find package symfony/skeleton with stability stable in a version installable using your PHP version 5.6.23." How can i resolve this issue? Do i have to update my php version? update: Yes i had to update my php version lol
@_ifly4 жыл бұрын
yeah i also had that problem then i updated my php composer
@_ifly4 жыл бұрын
but now i have this error No route found for "GET /symphart/public/"
@patmosland3 жыл бұрын
Thank you for yout labor! It's very cool tutorial.
@ThemisTheotokatos6 жыл бұрын
Hi great tutorial. Really helps.. Can you please explain what tool is auto completing those html elements while your just typing their classes and id? for example 25:12
@chetansant15605 жыл бұрын
Hi Themis, it is zen coding plugin. Available for many IDE. If you are using Sublime text then add package and search by emmet pulgin. You will also get emmet/zen coding cheat sheet. Enjoy
@ThemisTheotokatos5 жыл бұрын
@@chetansant1560 Thank you, hi, I am using visual studio code, but I cant find it with that name.
@chetansant15605 жыл бұрын
@@ThemisTheotokatos Emmet for VC. Chech this link kzbin.info/www/bejne/a5jYi52EeciJpKM
@commanderbensisko5 жыл бұрын
QUESTION: After executing composer require twig, how can someone new to Symfony know what path to import in the controller? By path I mean the USE SYMFONY\BUNDLE\FRAMEWORKBUNDLE\CONTROLLER\CONTOLLER line.
@srijay_guitarist5 жыл бұрын
So whenever we create a new project, we run the composer command and create virtual host entries every time for every project ? Sorry, i'm new to all this.
@jacobaddis40572 жыл бұрын
Hey, what is that extension you're using to auto-generate your HTML using the dot notation. I have been looking everywhere and I can't find it
@patatedeoufleretour6 жыл бұрын
Hi, is this tutorial series suited for beginners or should I be an intermediate Symfony developer before I watch the videos ? I never tried Symphony before, just a bit of Codeigniter.
@PolYGlokk6 жыл бұрын
I'm starting taping code 23:20 and 23:38 BOOM wall. I'm using NP++ lol
@NeverCodeAlone4 жыл бұрын
Try visual studio code. It is free, super fast and a very good IDE ;)
@everlonpassos6 жыл бұрын
I really enjoyed your lesson on Symfony 4 (3/3), a question: How are you using Annotations, how do I remove YAM and the components you are not using in the project?
@janzielinski43786 жыл бұрын
What shortcut you used in the 23:38 of the movie to generate a nav tag?
@hambaku73186 жыл бұрын
Kind of late, but you need to add this setting to your user settings: "emmet.triggerExpansionOnTab": true and then after writing what he wrote hit tab. It works with a lot of html tag abbreviations.
@IroshanVithanage6 жыл бұрын
do we must have to use Twig or any kind of templating engine, when creating Symfony apps?
@ZyradosPlays4 жыл бұрын
What extensions did you use? its really annoying without autocomplete or auto close HTML Tags in twig files ^^'
@paweupawel88905 жыл бұрын
Why you don't use in the terminal server "bin-console server:run" ?
@termetalic6 жыл бұрын
do you have any idea, how to compress js, css, html and images in Symfony 4 in best practices? Please help me, if you know, how to do it.
@TheDorsvmine5 жыл бұрын
Is this still relevant for 4.2 and the LTS 3.4? Wondering if I should watch this series over one that was made 2 weeks ago on a different channel; This one has amazing sound quality compared to the other one :>
@mrsdhuha2 жыл бұрын
Many thanks for this video, what if I want to install Twig on my Vendor folder in MVC framework?
@DaemonGenius5 жыл бұрын
What extensions do run? Great video btw..
@resu23814 жыл бұрын
What extension do you use to have autofill in .twig file?
@whitedragon1013 жыл бұрын
Do you have a tutorial for all the vs code shortcuts you are using ? E.g Divs and nav bars magically generating after only entering a class name
@abdulghaniofficial5 жыл бұрын
Awesome, informative as always. ♥️
@js3125 жыл бұрын
Lovely. How do i setup second virtual host since 127.0.0.1 is already taken ? I'm currently using few apps for testing.
@ummehanyarozshandaanny28464 жыл бұрын
Thanks a lot . I needed this badly.
@paweupawel88905 жыл бұрын
This project also works in version 4.3?
@pamphilemkp5841 Жыл бұрын
I am familiar with rails since both are MVC I am just here enjoying this framework too
@nowyty5565 жыл бұрын
Symfony is good for rest api or better another framework like Slim or laravel? What about .net? Any advice? :)
@doomoftheend5 жыл бұрын
I did the edits in the vhosts and the host file yet nothing is showing up at symphart.test and localhost/symphart/public doesn't work either... do i need to serve or build?
@Tux0xFF4 жыл бұрын
the path in your vhost must be pointing to /symphart/public , not just symphart , also chek your hosts file. In 2020 there is a better tool called Laragon which will automate any PHP application setup like Laravel Symfony, WP , etc, which will blow xampp, wamp socks away , they have nothing against Laragon, that is if you are on Windows.
@user-mfsc-20246 жыл бұрын
is twig the default template engine of symfony ?
@boscocorrea18956 жыл бұрын
Can you please do more tutorials on react and firebase.. (Just a suggestion)
@sakmaestro3852 Жыл бұрын
Today the latest is symfony 6,, it still first learn symfony 4 ,before diving to symfony 6? Or they are now big difference? Any recommended tutorial?
@DrDentalMed6 жыл бұрын
Are we going to make a project while we follow your tutorial?
@ennajihtazi15954 жыл бұрын
my best channel
@mohamedboushab406 жыл бұрын
Hi, thanks for all. I just want to know how we can create virtual host apache on ubuntu 18.04?
@01Basti055 жыл бұрын
Exactly what i need. Thank you a lot!!!
@ragiththomas95104 жыл бұрын
Your video tutorial is very awesome with a good explanation, I was trying to install composer in my wampserver but it was showing some error like this when I checked in command prompt C:\Users\Admin>composer PHP temp directory (C:\Program Files\KMSpico\temp) does not exist or is not writable to Composer. Set sys_temp_dir in your php.ini. Please guide me
@muhammadhasansiddiqui60174 жыл бұрын
How do you know everything bro?? You are a legend
@bartez80184 жыл бұрын
Why I don't have any autocompletions/autosugestions in twig files?
@SamirMamude6 жыл бұрын
As python developer, I had a bad experience with Laravel, too much magic code, slow performance, bad pratices, etc....now I´m doing some tests with Symfony and seens more organized to me.
@toannew3 жыл бұрын
Note, Typo 1: 19:30
@SSJ2Pikachu6 жыл бұрын
Hi, I have a problem. I don't know what these lines mean: "Some files may have been created or updated to configure your new packages. Please review, edit and commit them: these files are yours." I typed in "composer require server" just according to the second video of this tutorial symfonycasts.com/screencast/symfony Can u help me? I'd greatly appreciate it, since it's very important for my study. And yes I use Windows, too :)
@hoodedwarrior89566 жыл бұрын
Open up vendor sensio and symfony to see other available classes. Don't know if I had a plugin but for laravel it used to pop-up in vscode and you could select what to use... I'll miss that.
@pw48276 жыл бұрын
Yeah. VSCode is not the best IDE for Symfony. Unfortunately VS-Symfony community is very small and not active at all. If you want to have all this handy pop-ups and hints, you should use PHPStorm (which is proprietary and somewhat expensive for the newbie) or NetBeans (which is open-source and free) with Symfony plugin.
@hoodedwarrior89566 жыл бұрын
@@pw4827 Yea well, I misunderstood the concept behind symfony back then, now I am rather fond of those components and the fact that you can not even use the skeleton and only use 1 -3 specialized modules, autoload in your project and there you go. But this might also make it rather hard to make good typehinting, that ide would have to index everything on every file change in project.
@kensleylewis5 жыл бұрын
why does composer only install symfony 3.4, when 4 is out?
@christofferpawirodinomo7639 Жыл бұрын
Hi brad. Can you make an video of Symfony's latest update?
@karlosystem6 жыл бұрын
Very good !! . saludos from Lima - Perú
@js3124 жыл бұрын
What do i need to do to be able to name my app .dev instead of .test. iT seems to only be working with .dev at the moment.
@ronnypermanahalim15625 жыл бұрын
Thanks for the tutorial...
@swangiful6 жыл бұрын
man, you the best... period!
@oumaimabenjouida67244 жыл бұрын
hello i have an existing symfony project when i try to run it it gave this error [Symfony\Component\Debug\Exception\ContextErrorException] Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? Please Help !
@victoruzochukwu93666 жыл бұрын
great video, please can you make a video on microservice architecture using node
@5kplamse3 жыл бұрын
For those using Vagrant. copy the default config from /etc/apache2/sites-available/000-default.conf to /etc/apache2/sites-available/"".conf Then edit your ServerName and DocumentRoot just like the video above. Then enable it -> sudo a2ensite "".conf restart Apache, edit your hosts file in your host OS like the video Inside your hosts file, you must use the exact same domain and point to your private IP as specified in Vagrantfile
@AndrewErwin736 жыл бұрын
I really like the Twig engine... I use it in a lot of projects. I definitely prefer the Blade engine! I haven't found a way to use Blade outside of Laravel. THAT would be great.