Member Since 9 Months Ago

Rush, New York

Experience Points 33,660
Experience Level 7

1,340 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 335
Best Reply Awards 0
Best Reply
  • start-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-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-token Created with Sketch.


    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.


    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist 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.

26 Nov
7 months ago

ZacharyDuBois left a reply on How To Transfer Password From Client To Server

Yes, that is a standard design. Pretty much you will be treating the form that has your password as a normal form.

ZacharyDuBois left a reply on Do I Need Run `queue:work` When I'm Using Horizon?

No. You just need to set the number or processes, queues, and balancer settings in the config/horizon.php. To start horizon, you run php artisan horizon. You should not need to use the queue:* commands with horizon.

ZacharyDuBois left a reply on How To Transfer Password From Client To Server

If you are using a proper implementation of HTTPS using a strong ciphersuite, the password should not traverse in plain text. For any hashing algorithm to work, you will need the original. You should not use SHA, MD5, etc for hashing passwords as they are easily brute force-able. If you are really concerned about haveing your server handle the plain text password for a few milliseconds in ram to compare the hash, the only alternative I could see is building a asymmetric signature verification where the server asks the client to sign a unique string and verify the signature using the public key but that will hinder your application’s usabiliy and security of your implementation would be unknown as you are rolling your own cryptography which is not typically a good idea.

TL;DR: If you are using HTTPS (which you should be, it’s 2018 - Certificates are free), you do not have to do any hashing/funky stuff on the client side. Just verify the raw password against the bcrypt/argon hash stored in the DB. If you are new or don’t know what you are doing, stick with Laravel’s implementation for authentication.

11 Oct
9 months ago

ZacharyDuBois left a reply on What PhpStorm Config Is The Author Using In The "Let's Build A Forum" Series?

That fixes the magic methods in the for models but doesn't fix stuff like Auth::routes(). Plus I don't get why its so tedious to get Laravel to be friendly with IDEs. The reason I reference that "Lets Build a Forum" series is because the narrator did not do anything special or tedious and phpStorm worked as it was supposed to. I feel like I am doing something wrong or has Laravel just gotten that bad in IDEs since 5.5 (what was used in the series). If you look at the source for that series, you'll notice there are not ignored items for the IDE helper. In fact the IDE helper package isn't even required anywhere in the composer.json. Additionally when he initially made the laravel app in the first episode, he didn't have a Laravel Plugin nagging him to enable it when he opened the project.

All in all, the reason I made this thread is to get to the bottom of why Laravel has such bad support in phpStorm (and other various IDEs). It shouldn't need helper files, etc to work properly which is why I am so confused. One of the changes I made that fixed magic methods was to re-add the phpdoc for Illuminate\Database\Eloquent\Model. I also noticed there used to be a phpdoc for that model but it was removed in a later commit 77d8c23 & 5f879c5.

I'm just a little baffled how some people have no issues with a new Laravel project in phpStorm and then others (like me) have an entirely different experience. I would love to hear from the narrator about how he configured his phpStorm or if this was caused by a recent Laravel update.

ZacharyDuBois left a reply on What PhpStorm Config Is The Author Using In The "Let's Build A Forum" Series?

The only thing they really changed in that series was adding the ide-helper. They didn’t even add the ide plugin for the forum series. This is why I’m trying to figure out why none of the methods it seems like everyone else uses work for my clean install of phostorm and Laravel.

ZacharyDuBois left a reply on What PhpStorm Config Is The Author Using In The "Let's Build A Forum" Series?

Thanks for the quick reply!

I tried following that tutorial to a tee, I still run into issues when it comes to Eloquent's magic methods such as Model::create (as shown for the stock RegisterController.php).


Auth Routes

This is after generating the IDE helper files. It seems like its any of aliased class doesn't work. I am just confused as to the amount of work to make it work with phpStorm when in the video, he literally runs laravel new forum and phpStorm isn't squawking about anything when he opens it and doesn't configure anything. He is also able to seamlessly jump to declarations, get type hints, and use the magic methods with no problem. So it seems there is a solution but I'm just unsure what it is.

ZacharyDuBois started a new conversation What PhpStorm Config Is The Author Using In The "Let's Build A Forum" Series?

I am wondering what config for phpStorm the host is using in the "Let's Build a Forum" series because phpStorm's inspector isn't screaming with [a new Laravel project=( When I make a new project with phpStorm 2018.2 and Laravel 5.7, it screams about all of the Eloquent magic methods, all class aliases not being defined, etc. Even using the barryvdh/laravel-ide-helper package to generate the IDE and Meta helper files and enabling the Laravel IDE Plugin doesn't seem to fix the issue. I am fairly new to Laravel and I love how easy it makes everything but I'd like to use my preferred IDE and have autocompletion and code inspection working properly. If anyone has any tips for getting this to work, let me know!

A small nit-picky thing I have too: Is there any way to disable Laravel Valet being the first break in Xdebug with phpStorm?