invisiblemachine's avatar

Suggestion: Add dependency versions to series

It would be great if the series could show what version of Laravel/PHP Unit/etc was used during the recording. For instance, I had previously attempted to work through the Build a Forum series and hit a part that seemed to be not working with the current version of Laravel. Eventually, I gave up. Recently however I decided to come back and restart, this time using the version you had used (I figured it out from a later video talking about upgrading to 5.5). I haven't reached the same point as before yet, but so far things seem to be working better in the slightly older version of Laravel. I realize that many times the API hasn't changed, but I'm guessing it is hard for you to keep track of that when it does. I would definitely try to use whatever the version used in the video series was if I knew ahead of time. Thanks for the great content, I have yet to find a comparable site for other languages/frameworks that has the same level of quality and domain mastery Laracasts has.

0 likes
9 replies
mikenewbuild's avatar

The source code for that lesson is linked to in the video descriptions. You can inspect the composer package in the repo to see the dependencies.

Cronix's avatar

It would be helpful, especially as the years go on and hundreds of new videos added. I usually just go by the date the video was made as a rough estimate. Jeffrey usually uses the most up to date version of whatever was available at the time when he makes his videos, but it would be nice to have that posted up front.

jlrdw's avatar

I agree it would be nice. However learning the basics is learning the basics. Learning 5.5 then moving to 5.8 should be no big deal. There are "what's new" series.

I see it like learning small engine repair. Your class isn't going to cover every small engine manufacturer, however you should be able to figure things out from the training.

In fact you should be able to learn one of the laravel's, 5.8 for example and if your company suddenly uses cakephp, it should be a fairly easy transition.

But it helps to know some php also. Taylor isn't using laravel to write laravel, he uses php.

Cronix's avatar

Totally missed the point again, as usual... It has nothing to do with knowing php, or the basics. We can assume they know that here in this discussion.

It has more to do with pulling up an older tutorial, and trying to run it in a modern version of laravel, where a lot of those commands in the old tutorial might not even exist any longer due to deprecation or it operates differently than shown due to api updates, making it more difficult to learn.

If you know what versions are being used in the video, it would go a long way at letting the user know why the 5.2 code (from the tutorial) isn't working in 5.8 that they are currently using. It's harder to know when you don't know what version the tutorial is using and you get errors, but "I'm using the exact same code as the tutorial." It's a problem web-wide, not just here. So many people following 10 year old tutorials... It's one reason why we keep seeing posts about that stupid outdated and deprecated HTML form library that used to be included in laravel, but hasn't for many years now... yet we see posts every day from new users who are using it because of some old tutorial they are following.

jlrdw's avatar

I agree about that old HTML Library I never did like it.

But I was talking about as an example you learn algebra from a 1968 algebra book vs from 2019 algebra is still algebra.

But yes that old library I wish all references whatsoever was removed to that even if he has to reshoot some videos

In fact when I see a question on it now it makes my skin crawl.

Cronix's avatar

Ok, but if you reread the original post, it is not about that. Reread the first and second sentence. You went off in a direction that isn't pertinent to the stated topic. Nothing in their post is about basics or knowing "some php." It's pretty specific about laravel versions and your responses don't address it, at all.

2 likes
jlrdw's avatar

That last answer has a whole lot to do with the original question. The word yes hits the nail right on the head.

Please or to participate in this conversation.