Laravel Online Test

TestDome skill assessments are used by more than 7,000 companies and 450,000 individual test takers.

For Jobseekers

Practice your skills and earn a certificate of achievement when you score in the top 25%.

Take a Practice Test

For Companies

Test how candidates think, strategize, and solve problems so you can interview the best.

Sign Up to Offer This Test

TestDome Skill Assessments

Used by over 450,000 jobseekers

Trusted by over 7,000 companies

Premium questions with real-world problems

The Laravel online test assesses candidates' knowledge of programming using the Laravel framework and their ability to leverage commonly used programming patterns.

It's an ideal test for pre-employment screening. A good Laravel developer should be familiar with the most commonly used aspects of the Laravel framework and be able to leverage those to create web applications.

This test asks candidates to answer multiple-choice and fill-the-blanks questions about Laravel.

TestDome is trusted by businesses large and small

We’re top rated for our tests’ quality and reasonable completion time

Take The Test
Practice your skills.
Offer This Test
Sign up for a trial plan.
Free Sample Questions for Laravel Test

Our sample questions are free for companies to use on a trial plan. See more about our premium questions for paid plans below.

HR routes


Laravel HTTP Routing View New Public

An HR department uses the following Laravel resources to get employee data:

Route::get('/employee/{id?}', function ($id = 0) {
    return view('employee');
Route::get('/employee/{id}/subordinates/', function ($id) {
    return view('subordinates');

A request to "/employee/" will get mapped to the _____________ view.

A request to "/employee/12" will get mapped to the _____________ view.

A request to "/employee/10/subordinates/0" will get mapped to the _____________ view.

A request to "/employee/10/subordinates" will get mapped to the _____________ view.

Petting Zoo


Laravel Controller View New Public

A petting zoo is using the following Laravel controller:

class AnimalController extends Controller
    public function animalDetailsByName(Request $request, $animalName)
        return View::make('welcome', ['fullAnimalName' => $animalName]);

What can be concluded about the controller and the view it returns?

(Select all acceptable answers.)

Cinema Movies


Laravel Blade Template View Public

A cinema is using Laravel and Blade templates for their website. Their page at /movies should list all their movies and their directors. The relevant Laravel code is shown here:

class Movie
    public string $title;
    public string $director;

    function ̲ ̲ construct(string $title, string $director)
        $this->title = $title;
        $this->director = $director;

Route::get('/movies', function ()
    $movies = [new Movie("Casablanca", "Michael Curtiz"), new Movie("Psycho", "Alfred Hitchcock")];
    return View::make('welcome', ['movies' => $movies]);

Fill in the blanks for the following welcome.blade.php Blade template so that it prints correct data:

<!DOCTYPE html>
      @_______________(________ as $movie)
         <p>Movie title: {{ ________________ }}, director: {{ ________________ }}</p>
Take The Test
Practice your skills.
View Test Pricing
Pick the number of tests you need.
Pass/fail grouping

Our tests are designed to put candidates into either the pass group or the fail group so you can find the best candidates faster.

Full customization

We have pre-built tests and questions, but you can customize them however you like. Change the pass/fail scores, time requirements, and more.

Cheating protection

Use tests that solve real-world problems, with no answers that can be easily found online. Because we test performance and skills (not information), we allow the use of online resources, just like in real life. Copy/paste prevention and online proctoring via webcam prevent cheating.

Candidate reporting

Get an overview into the percentage of passes and fails. Then dive deeper into the results of your top candidates to select who goes onto the next phase of hiring.

Learn more
In-depth candidate performance analysis
Offer This Test
Sign up for a trial plan.

Premium Questions for Laravel Test

TestDome offers a premium questions library with 1000+ unique, hand-crafted questions whose answers can’t be found online. If you spot an answer somewhere online, we’ll give you a refund.

Question Names

These premium questions are included in this pre-built test and can be added to any multi-skill test. Please sign up for a paid plan to view the questions in detail.

User Middleware, User Name, Customer Controller, User Route, Pastry Shop
Covered Skills

Testing of these skills is covered in this pre-built test because they’re closely related. On our paid plan, you can easily create your own custom multi-skill tests.

Laravel Laravel Middleware Database Abstraction Controller View HTTP Routing Blade Template
Recommended Job Roles

These are the job roles that we recommend for the Laravel online test.

Laravel Developer
PHP Developer
Web Developer

Take or Offer the Laravel Online Test

How TestDome works

1. Choose or create a test
2. Share your test via URL or email
3. Review overall results and pass/fail grouping
4. Dive deeper into individual results

Excellent support & free concierge service

We offer fast, hands-on support for any question or concern you might have. If you want help with building a custom test or inviting candidates, we’ll handle everything for you.

Contact Support for any questions or to request our free concierge service.

Excellent support

Take or Offer the Laravel Online Test

Dashboard Start Trial Sign In Home Tour Tests Questions Pricing