Chrizzmeister

Chrizzmeister

Software Engineer at Wappla

Member Since 4 Years Ago

Antwerp

Experience Points
82,465
Total
Experience

2,535 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
852
Lessons
Completed
Best Reply Awards
3
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.

Level 17
82,465 XP
Oct
16
1 month ago
Activity icon

Commented on Handling Unique Slugs In Laravel

For anyone watching this for a newer Laravel version. Pluck now returns a collection. So you have to change the if check to :

if($latestSlug->isNotEmpty())

Oct
15
1 month ago
Activity icon

Replied to Laracasts Courses Or Videos About Building An API?

Using the build-in api resources is a must, the provided articles are dated in that regard https://laravel.com/docs/6.x/eloquent-resources

Sep
04
3 months ago
Activity icon

Replied to Upgrading From 5.5 To 6.0

Step by step is the best solution or use this: https://laravelshift.com

Jul
04
5 months ago
Activity icon

Replied to Create Or Attach

Use sync() or attach() / detach() https://laravel.com/docs/5.8/eloquent-relationships#updating-many-to-many-relationships

Next time use google or the documentation :) they both are pretty good.

Activity icon

Replied to How To Make A Custom Laravel Authentication Provider?

Not really sure what the adding-customer-user-providers does not explain? The point of your custom provider is that it has custom code related to your use-case?

  1. Add a custom service provider which links to your custom class
  2. change the default provider to your custom provider in auth.php or create a new one so you can switch between the two
  3. Make sure your custom class adheres to the UserProvider interface
  4. If you set this up you can use all the normal Auth:: methods, like Auth::user()

And a user-provider alone is probably not enough so also take a look at the custom guards: https://laravel.com/docs/5.8/authentication#adding-custom-guards

But when reading your post I think you actually just want to authenticate with an existing forum user, in that case, you probably want to use this: https://laravel.com/docs/5.8/socialite Take a look at the custom driver website https://socialiteproviders.netlify.com/, you can create your own custom driver for IP-board

IPBoard as a single-sign-on method which is probably what you need. Read the documentation and add your own socialite driver.https://invisioncommunity.com/services/sso/

Jun
27
5 months ago
Activity icon

Replied to Polymorphism

If you are sure posts/groups are always exactly the same then sure you can use polymorphism, but if there differences between the two or you expect more differences in the future, you should just make 2 tables: Groups/posts. And yes they will both have similar columns, but that doesn't matter and will be way easier to manage in your code.

Jun
26
5 months ago
Activity icon

Replied to Polymorphism

I don't really see the need for multiple tables. You can have a simple type column or just a bunch of date/boolean columns like: favorited_at or is_spam. In your code you can setup Scopes to simplify retrieving the results

Jun
14
6 months ago
Activity icon

Replied to How To Create Composer Package ?

Laravel docs has a page dedicated to this. Also just looking at existing packages is the best way to learn.

https://laravel.com/docs/5.8/packages