Member Since 1 Year Ago

Experience Points

4,100 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
Best Reply Awards
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.

Level 2
5,900 XP
2 months ago
Activity icon

Replied to Only Part Of Html Email Is Rendered By Blade

It is sent as the body of an email in a mailable, like this:

public function build() { 
    return $this -> view('email.body_html');

The view has the code above: a dump that dumps what is being sent just before it is sent. The dump shows the correct contents of the message that's slated to be sent as html. However, the email that is sent receives something different (see my description in my original question).

As far as I have been able to ascertain, this is not a mail/html formatting issue. So even if I do:

< ? php dump($email -> body_html) ?>

{{ $email -> body_html }}

what is dumped is different from what is being sent.

The only patttern I was able to discern is that if the mail is a reply that has the original html embedded, the reply goes through correctly, but not the original html.

Activity icon

Replied to Api Over Virtual Host And Port?

If you are using valet, then 'valet share' will open an ngrok tunnel to your server (basically giving you a publicly addressible URL).

Now the API should work over the new ngrok url the same way as accessing it over

If you are not using valet, you can still go to, create an account and follow instructions on how to create an ngrok tunnel to your local server.

First test with http.

To use https, you have to use 'valet secure' to create an encrypted connection. If not using valet, there are ways of creating a secure channel with MAMP & WAMP as well.

There are a couple of issues that took me a while to resolve which had to do with reinitializing the server and clearing the DNS cache. To avoid these, do the following:

  1. After you create a secure channel, restart your server. (restart valet or MAMP or better still, reboot your computer).

  2. Clear your DNS cache. On a mac, dscacheutil -flushcache && sudo killall -HUP mDNSResponder will do it.

Now your API should work over a secure virtual server.

Activity icon

Replied to Only Part Of Html Email Is Rendered By Blade

Thanks for your suggestion, I've tried everything and did not fix the problem.

Although I have found a different way to implement this, I am still puzzled as to why the two statements below (from the same blade template)

< ? php dump($email -> body_html) ?>

{!! $email -> body_html !!}

would output something quite different.

3 months ago
Activity icon

Replied to Only Part Of Html Email Is Rendered By Blade

That's simply a typing error in the question. That's not the problem.

3 months ago
Activity icon

Started a new Conversation Only Part Of Html Email Is Rendered By Blade

I am having a strange problem and would be grateful if someone can help figure out what's going on

My application is an email forwarding system. Incoming email is delivered through maligun (via a webhook) and stored in a database as body_plain and body_html. And this part works correctly.

In forwarding the email, I use the standard Laravel mailable to add from/to etc and use the build function to attach the html and plain text as follows:

public function build() { return $this -> view('email.body_html') -> text('email.body_plain'); }

The views are:

email/body_html : {!! $email -> body_html !!}} and email/body_plain: {{ $email -> body_plain }}

The emails are sent properly, but only part of the body_html gets sent.

I've tested the view "email/body_html" with:

< ? php dump($email -> body_html) ?>

{!! $email -> body_html !!}

The first statement dumps the whole html correctly, but the second statement renders only a part of the html. The only pattern I have seen is this: If body_html is just an html email body, there is no pattern in what is rendered. But if it is a reply to an html email, then the reply gets rendered correctly, but the original html body does not get rendered at all.

Any idea what I might be doing wrong?