Hashim

Member Since 5 Months Ago

Experience Points
9,190
Total
Experience

810 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
62
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

  • Community Pillar

    Earned once your experience points ranks in the top 10 of all Laracasts users.

Level 2
9,190 XP
Jun
11
2 days ago
Activity icon

Commented on Turbo Boost With Factories

As usual for anyone using not using an IDE/plugins that automatically adds imports in the background, make sure PostFactory.php contains:

use App\Models\Post;
use App\Models\User;
use App\Models\Category;
Jun
08
5 days ago
Activity icon

Commented on Find A Composer Package For Post Metadata

I assure you I wasn't trying to be mean-spirited and never really am, it's just a very frustrating experience trying to learn when the videos are already as fast-paced as they are, often requiring several watch throughs to comb through every second of them in order to catch the one thing that you missed... and then realise that the issue is not that you missed something, just that it happened in the background because of PHPStorm. Not the case with this video which showed that change briefly, but it has been with others. I don't personally want to have to find a plugin to add namespaces for me at this early stage cause I feel it would hinder my knowledge of the language, though I can see that some would prefer that.

Jun
04
1 week ago
Activity icon

Commented on Clockwork, And The N+1 Problem

As is often the case with this series, it's clear about the solution to this particular database request, but I'm still left unsure about the general case for the rest of the projects that I'll be creating on my own, with other queries that I'll be using. Or is the general case fix to prevent the N+1 problem/lazy-loading as simple as running Post::with... instead of Post::all?

Activity icon

Commented on Show All Posts Associated With A Category

Urgh, it was one of those stupid errors - I called the method post instead, which apparently is not possible, likely because of this. Thanks for the timely response.

Jun
03
1 week ago
Activity icon

Commented on Show All Posts Associated With A Category

I'm getting an "Invalid argument supplied for foreach" error when I try and view the category route.

I also get null when I do App\Models\Category::first()->posts; in Tinker. At what point in the code is a post associated with a category? What have I blinked and managed to miss? I've added the necessary methods to both the Post and Category class.

Jun
02
1 week ago
Activity icon

Commented on 3 Ways To Mitigate Mass Assignment Vulnerabilities

So to clarify the create() method is vulnerable to mass execution vulns whereas the update() method is not?

May
27
2 weeks ago
Activity icon

Commented on A Few Tweaks And Consideration

Brilliant, thank you.

May
25
2 weeks ago
Activity icon

Commented on A Few Tweaks And Consideration

Jeffrey, is there a rough ETA for when this course will be completed? I'd like to finish as fast as possible due to personal constraints but also don't want to risk going all out to finish too quickly and then have to wait around for the rest of the content to be delivered.

May
20
3 weeks ago
Activity icon

Commented on Find A Composer Package For Post Metadata

It's nothing to do with VS Code, it's to do with the fact that Jeffrey relies way too much on PHP Storm while neglecting to think about the vast majority of learners who can't afford to pay for an IDE and are using free general purpose IDEs instead. Increasingly this series is starting to feel like one long advertisement for PHP Storm, with so much heavy reliance on its automatic refactoring, inlining and adding of namespaces, while those using other IDEs are forced to think about what just happened and play catch up.

May
19
3 weeks ago
Activity icon

Commented on Find A Composer Package For Post Metadata

How do those languages handle array_map?

May
05
1 month ago
Activity icon

Commented on Use Caching For Expensive Operations

What's the reason for the period in posts.{$slug} in the key parameter? It wasn't explained why we're suddenly dropping the forward slash syntax here.

May
04
1 month ago
Activity icon

Commented on Store Blog Posts As HTML Files

4:40 doesn't work, I get a 404 whenever I click on one of the "dynamically rendered" posts. The URL goes to mysite/post because that's the route requested in posts.blade.php, which wasn't changed until the end of this video, so I'm not sure how it's working at this point.

May
03
1 month ago
Activity icon

Commented on Make A Route And Link To It

So I should continue using the old documentation page's install and set up process for Laravel UI?

EDIT: For anyone experiencing the same problem, even the linked page from the Laravel 6 documentation is insufficient to install Laravel UI. The commands I used are:

composer require laravel/ui

php artisan ui bootstrap --auth (remove --auth if you don't want authentication scaffolding)

npm install && npm run dev

I also had to add use Illuminate\Support\Facades\Auth; to my routes file.

Mar
31
2 months ago
Activity icon

Commented on Make A Route And Link To It

Since Laravel UI is now legacy, what's the equivalent for Laravel 8, and how do I do Bootstrap scaffolding without it? Breeze seems to be Tailwind-based, but the majority of developers don't use Tailwind. Searching the documentation for scaffolding brings up this page for Laravel 6, and clicking the link to go to a Laravel 8 equivalent takes you to the generic Installation page, which is worrying to say the least.

Mar
30
2 months ago
Activity icon

Commented on How A Route Loads A View

Erm wtf was that picture at 0:43? Some sort of easter egg?

Mar
25
2 months ago
Activity icon

Commented on Initial Environment Setup And Composer

You should look into Cygwin. It really is the best of both worlds: a powerful, closely emulated *Nix environment running on top of Windows 10. Far better than WSL2 because it has support for almost everything that a regular *Nix environment does, and is almost as fast. Been using it for the last 5 years for some seriously heavy stuff in many different fields, and I honestly don't know where I'd be without it.

PS. The solution to the update problem - and I admit it can be a problem unfortunately - is regular image backups. I currently use Macrium Reflect (free), mostly just works in the background and has saved my life at least a few times in the last few years (part of what I do in Cygwin involves securely wiping a ton of HDDs and SSDs regularly, so the risks are high).

Activity icon

Commented on An Animated Introduction To MVC

This course couldn't have come at a better time. I had to abandon Laravel 6 from Scratch because I found it wasn't for newcomers at all as the description states (even though it is classified as intermediate level). I went away for a while, spending ages looking for a better alternative, came across Brad Traversy's YouTube introduction which I completed a few days ago, and then came back to Laracasts to find that this course had been uploaded a week ago.... so excellent timing. I'm happy I won't have to deal with the compatibility frustrations I had with LFS 6 (and Brad Traversy's even older Laravel 5.x), and hopefully I now have enough of a base of Laravel knowledge to make learning it much less frustrating.

If I had any tips to Jeffrey this time round I would say my main frustration with LFS 6 was that often the course felt like a glorified watch-along-and-code video with very little explained (and therefore understood). Hopefully that will be much less so this time round, as I feel knowing why things are done a certain way or what certain syntax does instead of just copying it out is much more conducive to learning how to actually program (which has been, in my experience, the hardest part of being a developer).

Thank you and good luck to everyone.

Jan
27
4 months ago
Activity icon

Commented on Layout Pages

Looked better before imo

Activity icon

Commented on Route Wildcards

I've finished two entire courses on object-oriented PHP and still think this course is a terrible way to learn. The instructor seems to be basically throwing code at you with little explanation of the syntax and what the code is doing. That's not you how teach programming.