Search test library by skills or roles
⌘ K

About the test:

Le test en ligne PHP Laravel utilise des SCQ basés sur un scénario pour évaluer les candidats sur leur compréhension du cadre Laravel PHP. Le test évalue les candidats sur leur connaissance de l'architecture, des fonctionnalités et des fonctionnalités de Laravel, y compris le routage, les vues, les contrôleurs, les migrations, l'ORM éloquent, la validation et le middleware. Il évalue également leur familiarité avec les outils et les bibliothèques de Laravel, tels que Homestead, Forge, Valet, Mix et Dusk.

Covered skills:

  • Bases de syntaxe PHP
  • Php oups
  • Laravel Routes et contrôleurs
  • Programmation PHP
  • Structures de données PHP
  • Modèles et composants de Laravel
  • Migrations et relations de base de données

Try practice test
9 reasons why
9 reasons why

Adaface PHP & Laravel Test is the most accurate way to shortlist Développeur PHPs



Reason #1

Tests for on-the-job skills

The PHP & Laravel Online Test helps recruiters and hiring managers identify qualified candidates from a pool of resumes, and helps in taking objective hiring decisions. It reduces the administrative overhead of interviewing too many candidates and saves time by filtering out unqualified candidates at the first step of the hiring process.

The test screens for the following skills that hiring managers look for in candidates:

  • Gérer efficacement les exceptions et les erreurs
  • Travailler avec des structures de données PHP
  • Comprendre et mettre en œuvre des concepts PHP OOPS
  • Créer et utiliser des modèles et composants Laravel
  • Définition des itinéraires et des contrôleurs à Laravel
  • Gestion des migrations et relations de base de données
  • Maîtrise de la programmation PHP
Reason #2

No trick questions

no trick questions

Traditional assessment tools use trick questions and puzzles for the screening, which creates a lot of frustration among candidates about having to go through irrelevant screening assessments.

View sample questions

The main reason we started Adaface is that traditional pre-employment assessment platforms are not a fair way for companies to evaluate candidates. At Adaface, our mission is to help companies find great candidates by assessing on-the-job skills required for a role.

Why we started Adaface
Try practice test
Reason #3

Non-googleable questions

We have a very high focus on the quality of questions that test for on-the-job skills. Every question is non-googleable and we have a very high bar for the level of subject matter experts we onboard to create these questions. We have crawlers to check if any of the questions are leaked online. If/ when a question gets leaked, we get an alert. We change the question for you & let you know.

How we design questions

Ce ne sont qu'un petit échantillon de notre bibliothèque de plus de 10 000 questions. Les questions réelles à ce sujet Test PHP et Laravel ne sera pas googleable.

🧐 Question

Medium

Dynamic Function Calls
Arrays
Strings
Functions
Try practice test
Consider the following PHP pseudo code:
 image
The processArray function processes the $data array based on the transformation operations defined in the $operations array. The operations array dictates which transformation function to call for each sub-array key. What will be the output of the above code?
 image

Hard

Alter and Change
OOPs
Try practice test
What does the following code output?
 image

Hard

Exceptions
Exceptions
Try practice test
What does the following code output?
 image

Easy

PDO MySQL
Database Connections
Try practice test
Consider the following table data and PHP code. What is the result?
 image

Medium

Session Management and Object Serialization
Sessions
Serialization
Try practice test
Consider the following PHP script:
 image
Assuming you run the script twice in a row without clearing the session data, what will be the output on the second run?

Medium

Applying Middleware to Resource Routes
Middleware
Routing
Try practice test
You are developing a Laravel application that has a PostController for managing blog posts. The routes for this controller are set up as a resource route in your web.php file:
 image
You have already created a middleware called EnsureAdminRole to restrict access to certain routes for admin users. Now, you want to apply this middleware to the create, edit, update, and delete routes for the PostController, but not the index or show routes.

Which of the following ways would correctly apply the EnsureAdminRole middleware to these routes?
 image

Medium

Custom Validation Rule
Validation
Request Handling
Custom Rules
Try practice test
In your Laravel application, you are implementing a registration form where users enter their birthdate as a string in the 'Y-m-d' format. You want to ensure that only users aged 18 years or older can register. To achieve this, you decide to write a custom validation rule. Consider the following implementation of the custom rule and a function to handle the registration request:
 image
Which of the following code snippets correctly fills the passes method in the AgeRestriction class to ensure that only users aged 18 or older can register, given that the birthdate is a string in the 'Y-m-d' format?
 image

Medium

Eloquent Relationship Handling
ORM
Relationships
Database Operations
Try practice test
Consider the following code snippet in a Laravel application:
 image
Assume the user 'John Doe' is the first user in the User table. You want to retrieve all comments belonging to a post made by this user ('John Doe'). Which of the following Eloquent expressions is the correct way to achieve this?
 image

Medium

Route Model Binding
Routing
Controllers
Eloquent
Try practice test
In your Laravel application, you're making use of route model binding to handle retrieving models based on the incoming request. You have a route defined as follows:
 image
In your PostController, the show method looks like this:
 image
Now, imagine that instead of using the ID, you want to retrieve posts by their 'slug' for SEO purposes. Which of the following changes should you make in order to achieve this?
A: Modify the route to Route::get('/posts/{slug}', 'PostController@show'); and change the show method to public function show($slug).
B: Modify the getRouteKeyName method in the Post model to return 'slug'.
C: Change the show method to public function show(Post $slug).
D: No changes are needed, Laravel will automatically use the 'slug' if it exists.

Medium

Service Container
Service Container
Dependency Injection
Try practice test
In a Laravel application, the Service Container is a powerful tool for managing class dependencies and performing dependency injection. You're building a payment feature and created an interface PaymentGatewayInterface and two concrete classes, StripePaymentGateway and PaypalPaymentGateway, which implement this interface.

The application should use StripePaymentGateway for users located in the US, and PaypalPaymentGateway for users located in Europe.

Which of the following approach would you use to register these bindings in the Service Container?
A: Use App::bind(PaymentGatewayInterface::class, StripePaymentGateway::class) for US users and App::bind(PaymentGatewayInterface::class, PaypalPaymentGateway::class) for European users.

B: Use App::singleton(PaymentGatewayInterface::class, StripePaymentGateway::class) for US users and App::singleton(PaymentGatewayInterface::class, PaypalPaymentGateway::class) for European users.

C: Use a conditional statement within the binding closure of App::bind to check the user's location and bind the appropriate concrete class.

D: Use App::instance(PaymentGatewayInterface::class, new StripePaymentGateway) for US users and App::instance(PaymentGatewayInterface::class, new PaypalPaymentGateway) for European users.

E: Use App::when('App\\Http\\Controllers\\PaymentController')->needs(PaymentGatewayInterface::class)->give(StripePaymentGateway::class) for US users and the same method with PaypalPaymentGateway::class for European users.

Easy

Registration Queue
Logic
Queues
Solve
We want to register students for the next semester. All students have a receipt which shows the amount pending for the previous semester. A positive amount (or zero) represents that the student has paid extra fees, and a negative amount represents that they have pending fees to be paid. The students are in a queue for the registration. We want to arrange the students in a way such that the students who have a positive amount on the receipt get registered first as compared to the students who have a negative amount. We are given a queue in the form of an array containing the pending amount.
For example, if the initial queue is [20, 70, -40, 30, -10], then the final queue will be [20, 70, 30, -40, -10]. Note that the sequence of students should not be changed while arranging them unless required to meet the condition.
⚠️⚠️⚠️ Note:
- The first line of the input is the length of the array. The second line contains all the elements of the array.
- The input is already parsed into an array of "strings" and passed to a function. You will need to convert string to integer/number type inside the function.
- You need to "print" the final result (not return it) to pass the test cases.

For the example discussed above, the input will be:
5
20 70 -40 30 -10

Your code needs to print the following to the standard output:
20 70 30 -40 -10

Medium

Visitors Count
Strings
Logic
Solve
A manager hires a staff member to keep a record of the number of men, women, and children visiting the museum daily. The staff will note W if any women visit, M for men, and C for children. You need to write code that takes the string that represents the visits and prints the count of men, woman and children. The sequencing should be in decreasing order. 
Example:

Input:
WWMMWWCCC

Expected Output: 
4W3C2M

Explanation: 
‘W’ has the highest count, then ‘C’, then ‘M’. 
⚠️⚠️⚠️ Note:
- The input is already parsed and passed to a function.
- You need to "print" the final result (not return it) to pass the test cases.
- If the input is- “MMW”, then the expected output is "2M1W" since there is no ‘C’.
- If any of them have the same count, the output should follow this order - M, W, C.
🧐 Question🔧 Skill

Medium

Dynamic Function Calls
Arrays
Strings
Functions

2 mins

PHP
Try practice test

Hard

Alter and Change
OOPs

2 mins

PHP
Try practice test

Hard

Exceptions
Exceptions

2 mins

PHP
Try practice test

Easy

PDO MySQL
Database Connections

2 mins

PHP
Try practice test

Medium

Session Management and Object Serialization
Sessions
Serialization

2 mins

PHP
Try practice test

Medium

Applying Middleware to Resource Routes
Middleware
Routing

2 mins

Laravel
Try practice test

Medium

Custom Validation Rule
Validation
Request Handling
Custom Rules

3 mins

Laravel
Try practice test

Medium

Eloquent Relationship Handling
ORM
Relationships
Database Operations

3 mins

Laravel
Try practice test

Medium

Route Model Binding
Routing
Controllers
Eloquent

2 mins

Laravel
Try practice test

Medium

Service Container
Service Container
Dependency Injection

2 mins

Laravel
Try practice test

Easy

Registration Queue
Logic
Queues

30 mins

Coding
Solve

Medium

Visitors Count
Strings
Logic

30 mins

Coding
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Dynamic Function Calls
Arrays
Strings
Functions
PHP
Medium2 mins
Try practice test
Alter and Change
OOPs
PHP
Hard2 mins
Try practice test
Exceptions
Exceptions
PHP
Hard2 mins
Try practice test
PDO MySQL
Database Connections
PHP
Easy2 mins
Try practice test
Session Management and Object Serialization
Sessions
Serialization
PHP
Medium2 mins
Try practice test
Applying Middleware to Resource Routes
Middleware
Routing
Laravel
Medium2 mins
Try practice test
Custom Validation Rule
Validation
Request Handling
Custom Rules
Laravel
Medium3 mins
Try practice test
Eloquent Relationship Handling
ORM
Relationships
Database Operations
Laravel
Medium3 mins
Try practice test
Route Model Binding
Routing
Controllers
Eloquent
Laravel
Medium2 mins
Try practice test
Service Container
Service Container
Dependency Injection
Laravel
Medium2 mins
Try practice test
Registration Queue
Logic
Queues
Coding
Easy30 minsSolve
Visitors Count
Strings
Logic
Coding
Medium30 minsSolve
Reason #4

1200+ customers in 75 countries

customers in 75 countries
Brandon

Avec Adaface, nous avons pu optimiser notre processus de sélection initiale de plus de 75 %, libérant ainsi un temps précieux tant pour les responsables du recrutement que pour notre équipe d'acquisition de talents !


Brandon Lee, Chef du personnel, Love, Bonito

Try practice test
Reason #5

Designed for elimination, not selection

The most important thing while implementing the pre-employment Test PHP et Laravel in your hiring process is that it is an elimination tool, not a selection tool. In other words: you want to use the test to eliminate the candidates who do poorly on the test, not to select the candidates who come out at the top. While they are super valuable, pre-employment tests do not paint the entire picture of a candidate’s abilities, knowledge, and motivations. Multiple easy questions are more predictive of a candidate's ability than fewer hard questions. Harder questions are often "trick" based questions, which do not provide any meaningful signal about the candidate's skillset.

Science behind Adaface tests
Reason #6

1 click candidate invites

Email invites: You can send candidates an email invite to the Test PHP et Laravel from your dashboard by entering their email address.

Public link: You can create a public link for each test that you can share with candidates.

API or integrations: You can invite candidates directly from your ATS by using our pre-built integrations with popular ATS systems or building a custom integration with your in-house ATS.

invite candidates
Reason #7

Detailed scorecards & benchmarks

Reason #7

Detailed scorecards & benchmarks

Along with scorecards that report the performance of the candidate in detail, you also receive a comparative analysis against the company average and industry standards.

View sample scorecard
Try practice test
Reason #8

High completion rate

Adaface tests are conversational, low-stress, and take just 25-40 mins to complete.

This is why Adaface has the highest test-completion rate (86%), which is more than 2x better than traditional assessments.

test completion rate
Reason #9

Advanced Proctoring


Learn more

About the PHP & Laravel Assessment Test

Why you should use Pre-employment PHP & Laravel Online Test?

The Test PHP et Laravel makes use of scenario-based questions to test for on-the-job skills as opposed to theoretical knowledge, ensuring that candidates who do well on this screening test have the relavant skills. The questions are designed to covered following on-the-job aspects:

  • Comprendre et implémenter les bases de la syntaxe PHP
  • Manipuler et travailler avec des structures de données PHP
  • Utilisation de PHP OOPS (programmation orientée objet)
  • Créer et gérer les modèles et composants Laravel
  • Configuration et manipulation des routes et contrôleurs Laravel
  • Implémentation de migrations et de relations de base de données dans Laravel
  • Rédaction du code de programmation PHP efficace
  • Développer et maintenir des API RESTfuls avec PHP et Laravel
  • Dépannage et débogage des applications PHP et Laravel
  • Effectuer des avis de code et assurer la qualité du code

Once the test is sent to a candidate, the candidate receives a link in email to take the test. For each candidate, you will receive a detailed report with skills breakdown and benchmarks to shortlist the top candidates from your pool.

What topics are covered in the PHP & Laravel Online Test?

  • Bases de syntaxe PHP

    Les bases de la syntaxe PHP couvrent les règles fondamentales et les principes de l'écriture du code PHP. Il comprend des sujets tels que des variables, des types de données, des opérateurs, des structures de contrôle et des fonctions. Cette compétence est mesurée dans le test pour évaluer la compréhension des candidats des éléments de base de la programmation PHP et de leur capacité à écrire du code propre et efficace.

  • Structures de données PHP

    Data PHP Les structures se concentrent sur les différentes façons d'organiser et de stocker des données en PHP. Il couvre les tableaux, les chaînes, les listes, les piles, les files d'attente et d'autres structures de données intégrées. L'évaluation de cette compétence aide à déterminer efficacement la compétence des candidats dans la manipulation et la gestion des données, ce qui est un aspect crucial de la programmation et une compétence fondamentale dans le développement de PHP.

  • PHP OOPS </H4> <p> Objet PHP- La programmation orientée (OOPS) fait référence à la pratique de l'organisation du code en objets réutilisables qui encapsulent les données et le comportement. Il présente les concepts de classes, d'objets, d'héritage, d'encapsulation et de polymorphisme. L'évaluation de cette compétence permet aux recruteurs d'évaluer la compréhension des principes OOPS des candidats et leur capacité à concevoir et à mettre en œuvre des solutions orientées objet dans PHP. </p> <h4> Modèles et composants Laravel </H4> <p> Laravel et composants Concentrez-vous sur l'utilisation des modèles de lame et des composants réutilisables dans le cadre Laravel. Il couvre des sujets tels que l'héritage des modèles, les sections, les dispositions, les composants et les emplacements. La mesure de cette compétence aide à évaluer la compétence des candidats dans la création de vues dynamiques et modulaires à l'aide du moteur de modèles de Laravel, une compétence cruciale pour construire des applications Web robustes et maintenables. </p> <h4> Laravel Routes et contrôleurs

    Laravel Les routes et les contrôleurs impliquent la définition des itinéraires et la gestion des demandes HTTP dans le cadre Laravel. Il couvre des sujets tels que les définitions d'itinéraire, les paramètres d'itinéraire, les groupes d'itinéraire, les middleware et les actions du contrôleur. L'évaluation de cette compétence permet aux recruteurs d'évaluer la capacité des candidats à gérer le routage et la création d'API ou de pages Web avec du code propre et structuré dans Laravel.

  • Migrations et relations de base de données

    Migrations et relations de base de données concernant la gestion des schémas de base de données et l'établissement d'associations entre les tables de Laravel. Il couvre des sujets tels que la création, la modification et la relance des migrations, ainsi que la définition de relations entre les tables à l'aide de l'ORM éloquent. L'évaluation de cette compétence aide à déterminer la compétence des candidats dans la conception, la synchronisation et la requête des candidats, qui sont essentiels pour construire des applications Laravel évolutives et efficaces.

  • Programmation PHP

    PHP Programmation englobe l'ensemble Compétences et connaissances de codage du langage PHP, y compris sa syntaxe, ses fonctionnalités et ses meilleures pratiques. Il évalue la capacité des candidats à rédiger un code PHP propre et efficace, à comprendre le code existant et à résoudre les défis de programmation. La mesure de cette compétence fournit une évaluation holistique de l'expertise technique des candidats et de la compétence en codage en php.

  • Full list of covered topics

    The actual topics of the questions in the final test will depend on your job description and requirements. However, here's a list of topics you can expect the questions for Test PHP et Laravel to be based on.

    Syntaxe de base PHP
    Variables PHP
    Opérateurs PHP
    Déclarations conditionnelles PHP
    Boucles PHP
    Tableaux PHP
    Fonctions PHP
    Cours PHP
    PHP Héritage
    Polymorphisme PHP
    Encapsulation PHP
    Modèles de lame Laravel
    Composant Laravel
    Route Laravel
    Contrôleurs de Laravel
    Laravel éloquent orm
    Laravel Relations
    Migrations de base de données
    Requêtes de base de données
    La gestion des erreurs
    Traitement des fichiers en php
    Manipulation de forme à Laravel
    Authentification dans Laravel
    Middleware à Laravel
    Mise en cache en php
    Tests unitaires à Laravel
    Techniques de débogage
    Travailler avec des API à Laravel
    Optimisation des performances dans PHP
    Meilleures pratiques de sécurité
Try practice test

What roles can I use the PHP & Laravel Online Test for?

  • Développeur PHP
  • Développeur complet
  • Développeur arrière
  • Développeur de Laravel

How is the PHP & Laravel Online Test customized for senior candidates?

For intermediate/ experienced candidates, we customize the assessment questions to include advanced topics and increase the difficulty level of the questions. This might include adding questions on topics like

  • Optimisation des performances des applications PHP et Laravel
  • Travailler avec des API et des intégrations tierces
  • Implémentation de mise en cache et optimisation du temps de réponse de l'application
  • Sécuriser les applications PHP et Laravel contre les vulnérabilités
  • Utilisation de cadres de test unitaires pour PHP et Laravel
  • Implémentation d'authentification et d'autorisation dans PHP et Laravel
  • Travailler avec des tâches et des files d'attente asynchrones à Laravel
  • Gérer et optimiser les requêtes de base de données dans Laravel
  • Implémentation de la planification des tâches et des travaux Cron à Laravel
  • Surveillance et journalisation des applications PHP et Laravel

The coding question for experienced candidates will be of a higher difficulty level to evaluate more hands-on experience.

Singapore government logo

Les responsables du recrutement ont estimé que grâce aux questions techniques qu'ils ont posées lors des entretiens avec le panel, ils étaient en mesure de déterminer quels candidats avaient obtenu de meilleurs scores et de se différencier de ceux qui avaient obtenu de moins bons résultats. Ils sont très satisfait avec la qualité des candidats présélectionnés lors de la sélection Adaface.


85%
réduction du temps de dépistage

PHP & Laravel Hiring Test FAQ

Puis-je combiner plusieurs compétences en une seule évaluation personnalisée?

Oui absolument. Les évaluations personnalisées sont configurées en fonction de votre description de poste et comprendront des questions sur toutes les compétences indispensables que vous spécifiez.

Avez-vous en place des fonctionnalités anti-chétion ou de proctorisation?

Nous avons les fonctionnalités anti-modification suivantes en place:

  • Questions non googléables
  • IP Proctoring
  • Proctoring Web
  • Proctoring webcam
  • Détection du plagiat
  • navigateur sécurisé

En savoir plus sur les fonctionnalités de Proctoring.

Comment interpréter les résultats des tests?

La principale chose à garder à l'esprit est qu'une évaluation est un outil d'élimination, pas un outil de sélection. Une évaluation des compétences est optimisée pour vous aider à éliminer les candidats qui ne sont pas techniquement qualifiés pour le rôle, il n'est pas optimisé pour vous aider à trouver le meilleur candidat pour le rôle. Ainsi, la façon idéale d'utiliser une évaluation consiste à décider d'un score de seuil (généralement 55%, nous vous aidons à bencher) et à inviter tous les candidats qui marquent au-dessus du seuil pour les prochains cycles d'entrevue.

Pour quel niveau d'expérience puis-je utiliser ce test?

Chaque évaluation ADAFACE est personnalisée à votre description de poste / Persona de candidats idéaux (nos experts en la matière choisiront les bonnes questions pour votre évaluation de notre bibliothèque de 10000+ questions). Cette évaluation peut être personnalisée pour tout niveau d'expérience.

Chaque candidat reçoit-il les mêmes questions?

Oui, cela vous permet de comparer les candidats. Les options pour les questions du MCQ et l'ordre des questions sont randomisées. Nous avons Anti-Cheating / Proctoring en place. Dans notre plan d'entreprise, nous avons également la possibilité de créer plusieurs versions de la même évaluation avec des questions de niveaux de difficulté similaires.

Je suis candidat. Puis-je essayer un test de pratique?

Non. Malheureusement, nous ne soutenons pas les tests de pratique pour le moment. Cependant, vous pouvez utiliser nos exemples de questions pour la pratique.

Quel est le coût de l'utilisation de ce test?

Vous pouvez consulter nos plans de prix.

Puis-je obtenir un essai gratuit?

Oui, vous pouvez vous inscrire gratuitement et prévisualiser ce test.

Je viens de déménager dans un plan payant. Comment puis-je demander une évaluation personnalisée?

Voici un guide rapide sur Comment demander une évaluation personnalisée sur Adaface.

customers across world
Join 1200+ companies in 75+ countries.
Essayez l'outil d'évaluation des compétences le plus candidat aujourd'hui.
g2 badges
Ready to use the Adaface Test PHP et Laravel?
Ready to use the Adaface Test PHP et Laravel?
Discute avec nous
logo
40 min tests.
No trick questions.
Accurate shortlisting.
Conditions Intimité Guide de confiance

🌎 Choisissez votre langue

English Norsk Dansk Deutsche Nederlands Svenska Français Español Chinese (简体中文) Italiano Japanese (日本語) Polskie Português Russian (русский)
ada
Ada
● Online
✖️