mpchean

mpchean

Member Since 1 Year Ago

Experience Points 8,880
Experience Level 2

1,120 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 86
Lessons
Completed
Best Reply Awards 0
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.

12 May
3 months ago

mpchean left a reply on Facebook's Relay And GraphQL Are Going To Be HUGE!

How about a series on Laravel Lighthouse? I think Graphql has the potential to simplify the DB interface. In the meantime there is this series on Youtube https://youtu.be/hvjW-MQEwIM

17 Apr
4 months ago

mpchean started a new conversation Livewire Anyone

I know that it's in the experimental phase but Caleb Porzio's Livewire https://calebporzio.com/ looks very promising. Especially after listening to THE LARACASTS SNIPPET #94.

05 Feb
6 months ago

mpchean started a new conversation I Need Assistance With The Laravel From Scratch - Readability Episode

I have 1 issue, and I'm not sure if it's my doing, or if there is a discontinuity in the tutorial. -- The projects index page can only be viewed by user 1 who is the user defined in the gate from the auth episode. I comment this out and I get a 403. My expectation is that either of the two users should be able to see their index, but somehow I've messed up. Any help would be appreciated. Along this line is there anyone here who would be willing to mentor me for pay of course.

25 Nov
8 months ago

mpchean left a reply on Broke My Project After Renaming Controller

Thank you all! The composer command worked. I thought that composer played a role in the initial setup and updating a project. Was not aware that it was involved in running the application. I actually ran a composer install which cleared it up. I do have a git repository, and will use it in the future, though not really clear on all of its functions.

mpchean started a new conversation Broke My Project After Renaming Controller

At one point in the Projects tutorial I renamed my ProjectsController.php to oldProjectsController.php when some of my routing stopped working. I thought it would be a good idea to start clean. I created a new ProjectsController.php using resource. Now however I'm getting the following error when I enter the following route: http://project.test/projects (I'm using Laragon for pretty urls).

 ErrorException (E_WARNING)
include(C:\laragon\www\project\vendor\composer/../../app/Http/Controllers/oldProjectsController.php): failed to open stream: No such file or directory.

The routing only works if there is an oldProjectsController.php. This is my route:

Route::resource('projects', 'ProjectsController');

and this is the top of my ProjectsController.php:

namespace App\Http\Controllers;

use App\Project;
use Illuminate\Http\Request;

// created with php artisan make:controller ProjectsController -r -m Project

class ProjectsController extends Controller
13 Nov
9 months ago
12 Nov
9 months ago

mpchean started a new conversation Bulk Insert Using DB::

Does a bulk insert using DB:: create an SQL statement like: INSERT INTO tbl_name (a,b,c) VALUES(1,2,3),(4,5,6),(7,8,9); ?

26 Sep
10 months ago

mpchean left a reply on Correct Way To Extend Base Model To Add Additional Functionality

But isn't that what we're doing with each extended model? That at least is my reasoning.

mpchean left a reply on Correct Way To Extend Base Model To Add Additional Functionality

Hi Cronix: So there is nothing that is going to bite me in the backside if I take the approach of extending Model? I'm sort of surprised Laravel doesn't include this capability, but I will look into creating my own artisan command.

mpchean left a reply on Correct Way To Extend Base Model To Add Additional Functionality

Ok along this line of questioning... I want to use soft deletes in all of my models. Right now I've extended the Model class with BCSModel which has the appropriate use statements. But I would like to have artisan make:model use this extended class. Is this the correct approach, and if not what is a better way to do this?

01 Aug
1 year ago

mpchean left a reply on Auth With Two Tables

@Moenchfracht, I'm also starting a potentially multi-tenancy project. In my case each company is a distinct entity, so there is no need to consolidate data. Is that your situation? I wonder, for myself, if it would be better to keep companies in separate databases.

mpchean left a reply on Auth With Two Tables

I'm also interested in this answer. Wouldn't it make sense to change the users table to include the company id, then you could enforse the unique user name in a given company, and also set the company id for the application?