Our Black Friday sale is now live! All individual subscriptions are 50% OFF. This week only!

bwrice

bwrice

Member Since 6 Years Ago

Experience Points
51,490
Total
Experience

3,510 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
410
Lessons
Completed
Best Reply Awards
16
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 11
51,490 XP
Oct
28
4 weeks ago
Activity icon

Replied to Anyone Know A Good Way To Test "then" Logic With Laravel 8's New Queue Batching?

@martinbean I would still like to test the logic inside the "then" callback. Perhaps, in the future, CreateOrderReport has a dependency I need to pass into the constructor. If that were the case, I would have no test coverage that failed for this code.

Activity icon

Started a new Conversation Anyone Know A Good Way To Test "then" Logic With Laravel 8's New Queue Batching?

If I have some code like this:

        Bus::batch([
            new FinalizeOrder,
            new FinalizeOrder,
            new FinalizeOrder
        ])->then(function () {
            CreateOrderReport::dispatch();
        })->dispatch();

I want to assert the CreateOrderReport was queued, but when I use Queue::fake(), "then()" never runs because the batched jobs aren't actually processed.

Anyone using Laravel 8's new job batching feature and have any insight on how you're testing logic inside the callbacks?

Jul
26
4 months ago
Activity icon

Replied to How Do You Pass Data To "subcopy" In Markdown Emails?

@michaloravec that shouldn't be required since there is already a slot for the subcopy in the message component. I figured it out however. I just needed to use the slot helper.

@slot('subcopy')
<!-- Markdown -->
@endslot
Jul
25
4 months ago
Activity icon

Started a new Conversation How Do You Pass Data To "subcopy" In Markdown Emails?

I'm trying use the subcopy section of the mail message blade component, but I can't seem to figure out how to pass data to it. I've tried setting a public $subcopy property on the Mailable and passing a 'subcopy' variable directly to the view, but neither render anything.

Anyone use the subcopy section in markdown emails and know how to render it using the message component?

Jul
16
4 months ago
Activity icon

Started a new Conversation Can't Enable Let's Encrypt SSL Cert When Using Nginx Redirect

I have a production site that's not ready yet located at myapp.com and while it's not ready I want it to redirect to the beta repo site located at the subdomain beta.myapp.com. I've edited the top of my sites nginx file on Forge (for myapp.com) to look as follows:

listen 80;
listen [::]:80;
server_name myapp.com;
return 301 http://beta.myapp.com$request_uri;

The redirect works fine, however my SSL cert now fails to renew and I get the "Your connection is not private" warning when trying to access myapp.com. How can I redirect to the beta site and still have a valid SSL certificate?

Jul
05
4 months ago
Activity icon

Started a new Conversation How To Handle 2-way Sync Between JSON And Model's Data

I'm looking for guidance in adding the ability to update or create a model through a form, and when you do, it creates or updates an associated JSON file. Then, if I switch DBs, or run "migrate:fresh" I would have the ability to sync the DB content to match the JSON files.

I know ACF (Advanced Custom Fields) for Wordpress does something very similar to allow for version controlling of updating fields, and I'm curious if anyone has done something similar in Laravel and how you went about it.

Jun
07
5 months ago
Activity icon

Started a new Conversation What's The Correct Way Restarting Horizon When Deploying New Code?

I'm using Laravel Forge and I have a daemon setup to keep Horizon running. I'm wondering what's the correct procedure, or any "gotchas" to look out for, when you need to restart Horizon after a deploy.

Currently I stop the daemon, deploy the code release, and then restart the daemon. Is that fine, or is there something else I need to be aware of?

May
28
5 months ago
Activity icon

Awarded Best Reply on Passing Data Between Vue Components

You're emitting "value-updated" in StoreTextField.vue but listening for "@value-changed" in StoreRow.vue

May
27
6 months ago
Activity icon

Replied to Passing Data Between Vue Components

You're emitting "value-updated" in StoreTextField.vue but listening for "@value-changed" in StoreRow.vue