Member Since 4 Years Ago

Experience Points 9,220
Experience Level 2

780 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 112
Best Reply Awards 1
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.

11 Jul
3 years ago

bmcconn started a new conversation Laravel API With Mobile App

Hopefully this makes sense. Let's say I have a mobile app for golfing data. In that app, the user should be able to start a new round, and then enter data about each hole as the round is played. When the round is started the mobile app sends the data to the API, which enters a new round in the database. Now you start to play, and as you enter the data for the first hole, the app should send the data to the API which creates an entry in the pivot table between your rounds and golf holes. My question then , is how does the API know which round the hole belongs to?

My thought is when you create the round, the API would send a response with the round_id, and that would get passed with any request to create a new hole. But what if the user wants to save a round and come back later? Can a mobile app store that kind of data for future use?

Maybe I'm thinking about the entire problem wrong. I'd love to know how those more experienced than me would approach this situation. Thanks for your help.

10 Jul
3 years ago

bmcconn left a reply on Help With FatalErrorException - Class 'App/User' Not Found

Oh jeez, I was afraid it was going to be something like that. Thanks a lot.

bmcconn started a new conversation Help With FatalErrorException - Class 'App/User' Not Found

I have a model called Round (below) that has a one to many relationship with the model User.


namespace App;

use Illuminate\Database\Eloquent\Model;

class Round extends Model
     * A round is played by a user.
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
    public function user() {
        return $this->belongsTo('App/User');

In my RoundsController, I have a show() function attempting to return the user of a particular round.


namespace App\Http\Controllers;

use App\Round;
use Illuminate\Http\Request;

use App\Http\Requests;

class RoundsController extends Controller
    public function show($id)
        return Round::find($id)->user();

When i attempt to do this I get a FatalErrorException - class 'App/User' not found in Model.php

I know this is usually a namespace issue, but all my models are in the 'App' namespace. When I try something like Round::find($id), it works just find. It only seems to break down when I try and use relationships. I've googled around and am struggling to find an answer.

Thanks for the help.