pilat

pilat

Member Since 3 Years Ago

Experience Points
74,200
Total
Experience

800 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
666
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.

Level 15
74,200 XP
Aug
02
1 month ago
Activity icon

Commented on Testing With HTTP Fakes And Livewire

Dumping json string (and then decoding it in the helper method) would also work ;)

Jul
18
2 months ago
Activity icon

Commented on Is It Better?

What I do: register event somehow (it could be Observer, Service provider's boot(), model't boot), but then, inside the registered handler I call a method on the model itself. Like this:

public function creating($thread)
{
    $thread->handleCreating();
}

The benefits are:

  1. the model know how to handle its own creating, but more importantly:
  2. handleCreating(), because it's in the model class, it has access to all the protected and private props of the model
Activity icon

Commented on Refactoring To Blade Components

Sorry for a but unrelated question, but what tool do you use for accessing clipboard history?

Jul
13
2 months ago
Activity icon

Replied to Where Query - Using Calculated Date Value From Record In The DB

whereDate() allows to check for "date (month day) part of your date". Similar methods: whereMonth() and whereYear().

Just use plain old where() in your query: Test::active()->where('start_date', $now->subDays('DB_COLUMN_VAL'));

Jul
01
2 months ago
Activity icon

Replied to Checkbox Value In Controller In Laravel

One notice on on your blade file: you only need that @csrf once — right after the form is opened:

@if(count($sellerID)>0)
    <form action="/paid" method="post" enctype="multipart/form-data">
    @csrf 
        
        @foreach($sellerID as $p)
            <tr>
                <td><input type="checkbox" ...
Jun
29
2 months ago
Activity icon

Replied to Outdated Composer Packages, Using Latest Laravel 7

I'm on laravel 5.8 and I did "full composer rebuild" recently (rm -rf vendor composer.lock && composer install) : have this issue too. I suppose, they won't fix it 5.8?

May
19
4 months ago
Activity icon

Replied to Changing Forge Root Password Not Working

When I used that form, it changed password for non-root DB user (so, my production app stopped working). Still need a way to find/reset my database root password…

Apr
24
5 months ago
Activity icon

Commented on Improved Refactoring And Responsibilities

What would be php/laravel analog for sinon?

Apr
17
5 months ago
Activity icon

Commented on Call To Action Banner Design

How did you know that background's y-position, being specified as 100%, would be the position of image's bottom side, as opposed to upper? Never thought one could do it and the image won't go down till it disappears :)

Apr
16
5 months ago
Activity icon

Commented on Pricing Selection Design

I have doubts about using justify-around here. Since we want to line up price and button among cards - justify-between would be a better choice. With "around" you cannot control exact positions of these two..

Mar
31
5 months ago
Activity icon

Commented on Nested Layout Files With Components

It's there something like @parent available for blade components?