Member Since 2 Years Ago

Experience Points

3,730 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 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.


    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.


    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 1
1,270 XP
4 months ago
Activity icon

Started a new Conversation Stripe - Charge User Whenever An Event Is Triggered

Hi all,

I have a question about stripe and single charges. Is it possible to store a user's credit card once and then charge that card multiple times later, whenever a particular event is triggered. Is there a simple way to do this in with Cashier?

The Laravel documentation for Cashier on Payment Methods for Single Charges says:

"Due to Stripe limitations, you may not use the stored default payment method of a customer for single charges. You must allow the customer to enter their payment method details using the Stripe.js library."

But the documentation for Cashier on Single Charges then says:

"If you would like to make a "one off" charge against a subscribed customer's payment method, you may use the charge method on a billable model instance. You'll need to provide a payment method identifier as the second argument:"

// Stripe Accepts Charges In Cents...
$stripeCharge = $user->charge(100, $paymentMethod);

Reading the stripe documentation, it seems that there is no problem to charge a user later when they are offline, using their saved payment method:

"The Setup Intents API lets you save a customer’s card without an initial payment. This is helpful if you want to onboard customers now, set them up for payments, and charge them in the future—when they’re offline.

Use this integration to set up recurring payments or to create one-time payments with a final amount determined later, often after the customer receives your service."

I'm confused :( ... should I use Cashier and create a subscription for the user that does not charge a subscription? Then make one-off charges using the charge method when needed?

Any help would be very much appreciated!

5 months ago
Activity icon

Started a new Conversation General Advice On Date-based Events And Task Scheduling


I'm working on an app that allows users to create reminders for items on their to-do list.

What I'm trying to achieve is a form that allows the user to select a date and time by when they intend to complete an item on their to-do list. I would like the app to then automatically send an email reminder a few hours/days before the deadline if the user hasn't checked off the item as completed.

I'm not sure how to go about triggering the email reminders. I haven't worked with dates, events or task scheduling in Laravel yet.

Some of the ways I thought of implementing this:

(1) Using events. Don't know much yet about events and listeners.

(2) Scheduling a task - say a search every few hours in the database of upcoming deadlines and sending a notification reminder to those users. This seems like it might be harder to implement for me as I don't have any experience on chron jobs yet and haven't deployed many apps either. Also, it seems that by using this approach, the users wouldn't get the reminder email at a specific time before each deadline.

(3) Delayed dispatching - immediately sending the notification job to the queue with a delayed dispatched of X amount of time before the deadline, then cancelling the notification somehow at dispatch if the item has been checked off as completed.

I was just looking for some general advice and maybe some code if you had to solve this specific problem in the past. I'm not looking for the most efficient solution for the time being, but just what would be quite easy to get up and running.

Thanks for any ideas.