Creating a Quiz System with Laravel 10 + Livewire 3: Step-by-Step

In this tutorial, we'll add a new page called "Leaderboard" to show the top 100 results. Also, we'll let users choose which quiz to show.

quiz select input

For this, we need another Livewire component.

php artisan make:livewire Front/Leaderboard

First, let's show leaderboard and later we will add ability to select quiz. For the query we will need to access question_quiz pivot table. For this we'll create a model....

This lesson is only for Premium Members.
Want to access all lessons of this course?

You also get:

  • 60 courses (1084 lessons, 42 h 44 min total)
  • Premium tutorials
  • Access to repositories
  • Private Discord