JeffreyWay

JeffreyWay

Owner at Laracasts

Member Since 6 Years Ago

Chattanooga, TN

Experience Points
475,170
Total
Experience

0 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
303
Lessons
Completed
Best Reply Awards
352
Best Reply
Awards
  • 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.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    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.

Level 50
475,170 XP
Nov
17
1 day ago
Activity icon

Awarded Best Reply on Jeffrey's New Theme For PHPStorm

It is the Nord theme.

Activity icon

Replied to Jeffrey's New Theme For PHPStorm

It is the Nord theme.

Nov
14
4 days ago
Activity icon

Replied to Video Does Not Appears

That video is working for me in Firefox.

Video playback issues are almost always related to a browser extension that you have installed. Check to see if you have an ad-blocker extension that might be interfering with our video player's JavaScript.

Nov
13
5 days ago
Activity icon

Replied to I Have Payed The Yearly Subcription But I Still Have The Message "reactivate Your Subscription"

I don't see any yearly subscription associated with your profile. Make sure that you're signed into the correct account.

Nov
04
2 weeks ago
Activity icon

Replied to Laracasts Discussions - Issues

@nakov Looking into it now.

Oct
31
2 weeks ago
Activity icon

Commented on How Do I Make A Floating Nav Bar

Sure. I'll make a note to cover that soon.

Activity icon

Replied to Vue Newbie Having Trouble

The issue is in your button click handler.

<button class="btn btn-primary" @click="message = 'updated'">

This translates to, "When the user clicks on the button, update the message property for the current scope - the root app.js component - to "updated". The message property doesn't exist on your root component, which is why you're seeing the issue.

I assume you want that button to instead be in the ExampleComponent template.

Oct
25
3 weeks ago
Activity icon

Commented on How Do I Make A Floating Nav Bar

That's because, if you put it in the head, the DOM hasn't loaded yet. So you were querying for elements that hadn't yet been rendered.

Activity icon

Commented on Many To Many Relationships With Linking Tables

Quick note that, for the create_tags_table migration, we should make the name column unique to prevent accidental duplicates.

$table->string('name')->unique();
Activity icon

Commented on Widget Workshop

Yes

Oct
24
3 weeks ago
Activity icon

Commented on How Do I Make A Floating Nav Bar

There's no need to continuously query for the navbar every time we cross that threshold. So I "cached" it in a variable outside of the callback function to ensure that we only perform the query once.

Oct
22
3 weeks ago
Activity icon

Commented on Widget Workshop

Nah, I wouldn't worry about it. Lots of other things to concern yourself with first.

Oct
21
4 weeks ago
Activity icon

Commented on Widget Workshop

Nord

Oct
18
1 month ago
Oct
16
1 month ago
Activity icon

Replied to Auth Links

@beracah.kings Surround your code with three backticks on each end.

Activity icon

Replied to How To Sort A Collection In Descending Order?

There's a sortByDesc() method on the Collection instance.

Oct
15
1 month ago
Activity icon

Commented on Basic Eloquent Relationships

Thanks! Will fix right now.

Activity icon

Commented on Basic Eloquent Relationships

Nobody knows. Including me. 😬

Activity icon

Commented on Integrate A Site Template

Exactly ^.

Activity icon

Commented on Asset Compilation With Laravel Mix And Webpack

I have no strong opinion. In an ideal situation, I'd .gitignore the public assets and compile on the production end. But I also have projects where I just commit the assets and move on.

Oct
11
1 month ago
Activity icon

Commented on Basic Routing And Views

I never said otherwise.

Activity icon

Commented on Basic Routing And Views

Yes, we still need them. If you've seen the equivalent already, of course skip them.

Activity icon

Replied to Discussion Flags

I'm not sure what the solution is, but this is a fairly common issue for any popular forum. I'm not sure what flagging a thread as "Not Helpful" would accomplish.

One thing I could do is display related threads immediately after a user enters a title for a new discussion.

Oct
10
1 month ago
Activity icon

Commented on Explain How To Group Records By Relative Dates

Why is it the "best" way to go?

Oct
09
1 month ago
Activity icon

Replied to Should I Start With Laravel 6 Or Master 5.xxx?

@nilox You should absolutely go with Laravel 6. All of those 5.x resources are still 98% applicable.

Oct
08
1 month ago
Activity icon

Commented on Explain How To Group Records By Relative Dates

True - though if all you care about is splitting a collection's items into X numbers of groups, you can instead use the split method on the Collection class.

$collection->split(3);
Activity icon

Commented on Form Validation Essentials

Yes! Forgot to include a note about that. Thanks for mentioning.

Oct
03
1 month ago
Activity icon

Commented on Restful Routing

@jondijam -

How to use Restful Routing and static pages like about us together? Should I create a route like this Route::get("about-us", '[email protected]') ?

Don't bother. I typically create a PagesController for all static pages. So you'd have actions like [email protected], [email protected], etc.

Why do Auth::routes not follow restful approach?

These aren't laws. You're free to mix and match as you wish.

Oct
02
1 month ago
Activity icon

Commented on The Seven Restful Controller Actions

Try doing composer dump-autoload and then run the command again.

Oct
01
1 month ago
Activity icon

Commented on The Seven Restful Controller Actions

Just you. The next episode reviews request verbs.

Sep
30
1 month ago
Sep
29
1 month ago
Activity icon

Commented on Setup A Database Connection

Obviously I was a little under the weather when recording this episode.

Sep
28
1 month ago
Sep
25
1 month ago
Activity icon

Commented on Set An Active Menu Link

Because I like it.

Activity icon

Replied to How To Use Slug In Lumen

If you want to use a different key for the route model binding, add a getRouteKeyName method to your model, like this:

public function getRouteKeyName()
{
    return 'slug';
}
Sep
21
1 month ago
Activity icon

Commented on Pass Request Data To Views

Thanks!

Sep
17
2 months ago
Activity icon

Commented on Explain How A Route Returns A Response

Right. If I said trait at any point, I meant interface.

Sep
15
2 months ago
Activity icon

Commented on Login Throttling

No, the cache I'm referring to is stored server-side.

Sep
13
2 months ago
Activity icon

Commented on Parsing Markdown

Taylor Otwell follows a convention for comments. Three lines total. Each new line contains three fewer characters than the one before it. Makes for a pretty comment block. But in that 4:42 case, the convention wasn't followed precisely. No big deal. I was only being silly.

Sep
11
2 months ago
Activity icon

Commented on Reflect Into Functions

Heads up, if you want to play around with PHP generators, you could alternatively do this:

public function test_load_users()
{
    $this->load(function (User $user, User $user2) {
        dump($user);
    });
}

protected function load($callback)
{
    $users = LazyCollection::make(function () use ($callback) {
        $usersRequired = (new ReflectionFunction($callback))
                            ->getNumberOfParameters();

        for ($i = 1; $i <= $usersRequired; $i++) {
            yield new User;
        }
    });

    $callback(...$users);
}
Sep
10
2 months ago
Activity icon

Commented on At A Glance

That's the plan. 👍

Activity icon

Commented on At A Glance

It's an example you don't have to think about.

Sep
07
2 months ago
Activity icon

Commented on Lazy Collections

@foremostdigital Because ->first() is called on the LazyCollection instance. It's not part of the query builder.