bashy

DevOps/Lead Developer at :)

Member Since 5 Years Ago

London, UK

Experience Points
1,012,410
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
778
Lessons
Completed
Best Reply Awards
477
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
1,012,410 XP
Nov
19
3 weeks ago
Activity icon

Awarded Best Reply on Fetch Eamil_verifed Or Not From Users Table In Laravel

@neeraj1005 Then the user is null. I can't see what $user is in your example but if it's a user list, just do;

<td class="py-4 px-6">
    @if($user->email_verified_at)
        <i class="fas fa-circle text-green-500"></i>
    @else
        <i class="fas fa-circle text-red-500"></i>
    @endif
</td>

or shorter

<td class="py-4 px-6">
    <i class="fas fa-circle {{ ($user->email_verified_at ? 'text-green-500' : 'text-red-500') }}"></i>
</td>
Activity icon

Replied to Fetch Eamil_verifed Or Not From Users Table In Laravel

@neeraj1005 Then the user is null. I can't see what $user is in your example but if it's a user list, just do;

<td class="py-4 px-6">
    @if($user->email_verified_at)
        <i class="fas fa-circle text-green-500"></i>
    @else
        <i class="fas fa-circle text-red-500"></i>
    @endif
</td>

or shorter

<td class="py-4 px-6">
    <i class="fas fa-circle {{ ($user->email_verified_at ? 'text-green-500' : 'text-red-500') }}"></i>
</td>
Activity icon

Replied to Fetch Eamil_verifed Or Not From Users Table In Laravel

@if(auth()->user()->hasVerifiedEmail())
    Verified
@else
    No verified
@endif

Change auth()->user() for your user instance e.g. $user

Jun
11
6 months ago
Activity icon

Replied to How To Protect Laravel Website?

I'm guessing you have modified the location of the index.php file and put it a level up from the default public folder? Doing that can expose all of the core files (vendor stuff) and depending on what packages you have install, that's probably it.

Activity icon

Replied to Horizon/Redis - Multiple Server Setup?

It really comes down to redundancy as you said. If you do run multiple queue servers, just remember to use ->onOneServer() as described here: https://medium.com/@taylorotwell/laravel-5-6-preview-single-server-scheduling-54df8e0e139b

Activity icon

Replied to WYSIWYG Blade Editor?

@elfeffe I doubt you can since it's a HTML editor (WYSIWYG)

Activity icon

Replied to Laravel 4.2 And Php 7.1 Issues With Carbon

Upgrade Laravel since 4.2 doesn't work well with PHP 7. And also don't bump 2 year old threads.