Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Reflections Info Systems Team. If you also belong to the team, you can get access from here

Reflections Info Systems Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Reflections Info Systems Php Full Stack Developer Interview Questions and Answers

Updated 29 Oct 2024

21 Interview questions

A Php Full Stack Developer was asked 7mo ago
Q. In Laravel, how would you efficiently fetch 5 million records from 3 tables within a single database?
Ans. 

Use Laravel's Eloquent ORM with chunking and eager loading for optimized fetching of 5 million records from 3 tables in a single DB.

  • Use Laravel's Eloquent ORM to fetch records efficiently

  • Use chunking to process large datasets in smaller, manageable chunks

  • Utilize eager loading to reduce the number of queries executed

A Php Full Stack Developer was asked 7mo ago
Q. What if an issue arises on a production server that we can't troubleshoot in staging or local environments? How would you fix that issue?
Ans. 

In such cases, it is important to analyze the issue thoroughly on the production server and implement a fix cautiously.

  • First, analyze the logs and error messages on the production server to understand the root cause of the issue.

  • Check for any recent changes or updates that might have caused the problem.

  • If possible, try to replicate the issue in a controlled environment like staging or local to further investigate.

  • ...

Php Full Stack Developer Interview Questions Asked at Other Companies

Q1. What if an issue arises on a production server that we can't trou ... read more
Q2. How do you write custom authentication and middleware in Laravel?
Q3. In Laravel, how would you efficiently fetch 5 million records fro ... read more
Q4. How does Laravel identify a specific session for each user?
Q5. In Laravel, how do you rollback to a specific version in Migratio ... read more
A Php Full Stack Developer was asked 7mo ago
Q. How do you write custom authentication and middleware in Laravel?
Ans. 

To write a custom authentication & middleware in Laravel, you can create a custom guard and middleware classes.

  • Create a custom guard by extending the 'Illuminate\Auth\Guard' class and implementing the necessary methods like 'validate' and 'user'.

  • Register the custom guard in the 'auth.php' configuration file.

  • Create a custom middleware by extending the 'Illuminate\Auth\Middleware\Authenticate' class and implementing...

A Php Full Stack Developer was asked 7mo ago
Q. How do you write a unit test in Laravel?
Ans. 

To write a unit test in Laravel #8, use PHPUnit and create test classes that extend the TestCase class.

  • Create a new test class in the 'tests' directory.

  • Extend the class with PHPUnit's TestCase class.

  • Write test methods within the class to test specific functionality.

  • Use assertions provided by PHPUnit to check if the code behaves as expected.

  • Run the tests using the 'php artisan test' command.

A Php Full Stack Developer was asked 7mo ago
Q. What is the difference between Sessions and Cookies in Laravel?
Ans. 

Sessions store data on the server side, while cookies store data on the client side.

  • Sessions store data on the server side, while cookies store data on the client side.

  • Sessions are more secure as the data is stored on the server and not accessible by the client.

  • Cookies are limited in size (4KB) and can be disabled by the client, while sessions have no such limitations.

A Php Full Stack Developer was asked 7mo ago
Q. In Laravel, how do you rollback to a specific version in Migration?
Ans. 

Use the migrate:rollback command with --step option to rollback to a specific version in Laravel migration.

  • Use php artisan migrate:rollback --step=n command to rollback n number of migrations.

  • Specify the number of migrations to rollback to a specific version.

  • For example, php artisan migrate:rollback --step=3 will rollback the last 3 migrations.

A Php Full Stack Developer was asked 7mo ago
Q. How do you handle custom requests with validations in Laravel?
Ans. 

Custom requests with validations in Laravel can be handled using Form Requests.

  • Create a new Form Request using artisan command: php artisan make:request CustomRequest

  • Define validation rules in the authorize() and rules() methods of the CustomRequest class

  • Inject the CustomRequest class into your controller method to automatically validate the incoming request

Are these interview questions helpful?
A Php Full Stack Developer was asked 7mo ago
Q. Explain Polymorphism in Laravel relationships.
Ans. 

Polymorphism in Laravel relationships allows a model to belong to multiple other models.

  • Polymorphic relationships allow a model to belong to multiple other models.

  • It is useful when a model can belong to more than one other model.

  • For example, a Comment model can belong to either a Post or a Video model.

A Php Full Stack Developer was asked 7mo ago
Q. In Laravel, why do we use the "composer.lock" file?
Ans. 

The composer.lock file is used to lock the exact versions of dependencies in a project to ensure consistent builds.

  • Prevents different versions of dependencies from being installed on different machines

  • Ensures that all developers are using the same versions of dependencies

  • Helps in maintaining consistency and stability of the project

A Php Full Stack Developer was asked 7mo ago
Q. How do you use 'env' with Vue?
Ans. 

The 'env' function in Vue is used to access environment variables in your application.

  • Use process.env to access environment variables in Vue components

  • Environment variables can be set in a .env file at the root of your project

  • Remember to restart your development server after adding or changing environment variables

Reflections Info Systems Php Full Stack Developer Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Sep 2024. There were 2 interview rounds.

Round 1 - Coding Test 

I was assigned to implement basic CRUD operation in an API (the code should be production-ready). I was also instructed to perform Unit tests.

Round 2 - Technical 

(22 Questions)

  • Q1. Laravel #1 - Why we use "composer.lock" file?
  • Ans. 

    The composer.lock file is used to lock the exact versions of dependencies in a project to ensure consistent builds.

    • Prevents different versions of dependencies from being installed on different machines

    • Ensures that all developers are using the same versions of dependencies

    • Helps in maintaining consistency and stability of the project

  • Answered by AI
  • Q2. Laravel #2 - When deleting a package from Vendor folder, will the application works?
  • Ans. 

    Deleting a package from the Vendor folder can break the application if that package is required for functionality.

    • Laravel uses Composer to manage dependencies, which are stored in the Vendor folder.

    • If a package is deleted that is required by your application, you may encounter errors or missing functionality.

    • For example, if you delete a package like 'guzzlehttp/guzzle' and your application makes HTTP requests using it,...

  • Answered by AI
  • Q3. Laravel #3 - How to write a custom authentication & middleware?
  • Ans. 

    To write a custom authentication & middleware in Laravel, you can create a custom guard and middleware classes.

    • Create a custom guard by extending the 'Illuminate\Auth\Guard' class and implementing the necessary methods like 'validate' and 'user'.

    • Register the custom guard in the 'auth.php' configuration file.

    • Create a custom middleware by extending the 'Illuminate\Auth\Middleware\Authenticate' class and implementing the ...

  • Answered by AI
  • Q4. Laravel #4 - How to handle custom request with Validations?
  • Ans. 

    Custom requests with validations in Laravel can be handled using Form Requests.

    • Create a new Form Request using artisan command: php artisan make:request CustomRequest

    • Define validation rules in the authorize() and rules() methods of the CustomRequest class

    • Inject the CustomRequest class into your controller method to automatically validate the incoming request

  • Answered by AI
  • Q5. Laravel #5 - Explain Polymorphism in relationship?
  • Ans. 

    Polymorphism in Laravel relationships allows a model to belong to multiple other models.

    • Polymorphic relationships allow a model to belong to multiple other models.

    • It is useful when a model can belong to more than one other model.

    • For example, a Comment model can belong to either a Post or a Video model.

  • Answered by AI
  • Q6. Laravel #6 - What is a Relationship?
  • Q7. Laravel #7 - How to fetch 5 million records from 3 tables from a single DB in optimized way?
  • Ans. 

    Use Laravel's Eloquent ORM with chunking and eager loading for optimized fetching of 5 million records from 3 tables in a single DB.

    • Use Laravel's Eloquent ORM to fetch records efficiently

    • Use chunking to process large datasets in smaller, manageable chunks

    • Utilize eager loading to reduce the number of queries executed

  • Answered by AI
  • Q8. Laravel #8 - How to write a Unit test?
  • Ans. 

    To write a unit test in Laravel #8, use PHPUnit and create test classes that extend the TestCase class.

    • Create a new test class in the 'tests' directory.

    • Extend the class with PHPUnit's TestCase class.

    • Write test methods within the class to test specific functionality.

    • Use assertions provided by PHPUnit to check if the code behaves as expected.

    • Run the tests using the 'php artisan test' command.

  • Answered by AI
  • Q9. Laravel #9 - How to rollback for specific version in Migration ?
  • Ans. 

    Use the migrate:rollback command with --step option to rollback to a specific version in Laravel migration.

    • Use php artisan migrate:rollback --step=n command to rollback n number of migrations.

    • Specify the number of migrations to rollback to a specific version.

    • For example, php artisan migrate:rollback --step=3 will rollback the last 3 migrations.

  • Answered by AI
  • Q10. Laravel #10 - Difference between Session & Cookies ?
  • Ans. 

    Sessions store data on the server side, while cookies store data on the client side.

    • Sessions store data on the server side, while cookies store data on the client side.

    • Sessions are more secure as the data is stored on the server and not accessible by the client.

    • Cookies are limited in size (4KB) and can be disabled by the client, while sessions have no such limitations.

  • Answered by AI
  • Q11. Laravel #11 - How Laravel finds a specific session for each user?
  • Ans. 

    Laravel uses a unique session identifier to find a specific session for each user.

    • Laravel generates a unique session ID for each user upon login

    • The session ID is stored in a cookie on the user's browser

    • Laravel uses the session ID to retrieve the user's session data from the server

  • Answered by AI
  • Q12. Laravel #12 - Laravel Notifications, Different types of Mailers ?
  • Ans. 

    Laravel Notifications allow you to send notifications across multiple channels. Different types of mailers in Laravel include SMTP, Mailgun, and Sendmail.

    • Laravel Notifications can be sent through email, SMS, Slack, and more

    • SMTP mailer is commonly used for sending emails in Laravel

    • Mailgun is a popular mailer service that can be integrated with Laravel for sending emails

    • Sendmail is another option for sending emails in La...

  • Answered by AI
  • Q13. Laravel #13 - How to send Asynchronous notification?
  • Ans. 

    To send asynchronous notifications in Laravel, use queues to handle background processing.

    • Use Laravel's built-in queue system to send notifications asynchronously.

    • Define a notification class and use the ShouldQueue interface to indicate that the notification should be sent asynchronously.

    • Dispatch the notification using the queue driver of your choice (e.g. database, Redis, Amazon SQS).

  • Answered by AI
  • Q14. Laravel #14 - How Queue works ?
  • Ans. 

    Laravel Queue is a feature that allows you to delay the execution of a time-consuming task, improving application performance.

    • Queues help in offloading time-consuming tasks to be processed in the background

    • Tasks are added to the queue and processed by workers asynchronously

    • Laravel provides drivers like Redis, Beanstalkd, and Amazon SQS for queue management

  • Answered by AI
  • Q15. Laravel #15 - How to Upgrade ?
  • Ans. 

    To upgrade Laravel, you need to follow the official documentation and use Composer to update dependencies.

    • Check the Laravel documentation for the specific version you are upgrading to

    • Update your composer.json file with the new Laravel version

    • Run 'composer update' command in your terminal to update dependencies

    • Check for any deprecated features or changes in the new version and make necessary adjustments

  • Answered by AI
  • Q16. MySQL #1 - Why do we index in DB tables ?
  • Ans. 

    Indexing in DB tables improves query performance by allowing the database to quickly locate specific rows.

    • Indexes help in speeding up data retrieval operations by providing quick access to rows based on the indexed columns.

    • They reduce the number of disk I/O operations required to fetch data, resulting in faster query execution.

    • Indexes can also enforce uniqueness constraints and improve the efficiency of joins between t...

  • Answered by AI
  • Q17. Vue #1 - Why we use the "Key" - directive ?
  • Ans. 

    The 'Key' directive in Vue is used to uniquely identify elements in a list to improve performance and prevent re-rendering.

    • Helps Vue efficiently update the DOM by reusing existing elements instead of creating new ones

    • Prevents unnecessary re-rendering of elements in a list when their order changes

    • Improves performance by allowing Vue to track and update specific elements based on their keys

    • Example:

      Ans. 

      Vue 3 is the latest version of Vue.js with improved performance, new features, and better TypeScript support.

      • Vue 3 uses a new reactivity system called the Composition API, which offers more flexibility and better organization of code compared to Vue 2's Options API.

      • Vue 3 introduces a new compiler that generates optimized code for better performance.

      • Vue 3 provides better TypeScript support with improved type inference a...

    • Answered by AI
  • Q19. Vue #3 - Options API vs Composition API ?
  • Ans. 

    Options API is more verbose and flexible, while Composition API is more organized and reusable.

    • Options API allows defining component options in separate sections like data, methods, computed, etc.

    • Composition API allows organizing code based on logic and reusability with setup() function.

    • Options API is suitable for smaller projects or when starting with Vue, while Composition API is recommended for larger projects or co...

  • Answered by AI
  • Q20. Vue #4 - How to use "env"?
  • Ans. 

    The 'env' function in Vue is used to access environment variables in your application.

    • Use process.env to access environment variables in Vue components

    • Environment variables can be set in a .env file at the root of your project

    • Remember to restart your development server after adding or changing environment variables

  • Answered by AI
  • Q21. Vue #5 - Why we using "Scope" in style?
  • Ans. 

    Using 'Scope' in style allows us to apply styles to specific elements within a component.

    • Scope in style allows us to target specific elements within a component without affecting others

    • It helps in organizing and managing styles more efficiently

    • Scope can be used to prevent styles from leaking out of a component

  • Answered by AI
  • Q22. Common #1 - What if an issue arise on a "Production" server that we can't troubleshoot in "Staging" or "Local", So how to fix that issue ?
  • Ans. 

    In such cases, it is important to analyze the issue thoroughly on the production server and implement a fix cautiously.

    • First, analyze the logs and error messages on the production server to understand the root cause of the issue.

    • Check for any recent changes or updates that might have caused the problem.

    • If possible, try to replicate the issue in a controlled environment like staging or local to further investigate.

    • Consu...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Reflections Info Systems Php Full Stack Developer interview:
  • Laravel
  • Vue
  • PHP
  • MySQL
  • Javascript

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
5d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about Reflections Info Systems?
Ask anonymously on communities.

Interview questions from similar companies

Interview Preparation Tips

Round: Technical Interview
Experience: this was a telephonic round : There I was asked basics of web development (e.g Session, hidden variable difference between POST and GET etc. ) and basics of PHP e.g global variables etc , little bit of mysql e.g joins , difference between left and right joins.

Round: Technical Interview
Experience: This was pretty much about interview rounds. I got the offer.

Skills: Core java, OOP, PHP
College Name: na

Php Full Stack Developer Interview Questions Asked at Other Companies

Q1. What if an issue arises on a production server that we can't trou ... read more
Q2. How do you write custom authentication and middleware in Laravel?
Q3. In Laravel, how would you efficiently fetch 5 million records fro ... read more
Q4. How does Laravel identify a specific session for each user?
Q5. In Laravel, how do you rollback to a specific version in Migratio ... read more

I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.

Interview Questionnaire 

5 Questions

  • Q1. How to implement Sqlite database in React Native?
  • Q2. What are generator functions?
  • Ans. 

    Generator functions are functions that can be paused and resumed, allowing for lazy evaluation of data.

    • Generator functions use the yield keyword to pause execution and return a value.

    • They can be used to generate an infinite sequence of values.

    • They are memory efficient as they only generate values when needed.

    • Example: function* myGenerator() { yield 1; yield 2; yield 3; }

    • Example: const infiniteGenerator = function*() { ...

  • Answered by AI
  • Q3. How to implement push notifications in Android and iOS?
  • Ans. 

    Push notifications can be implemented in Android and iOS using Firebase Cloud Messaging (FCM) and Apple Push Notification service (APNs) respectively.

    • For Android, integrate FCM SDK in the app and use FCM console to send notifications.

    • For iOS, create an APNs certificate, configure the app to receive notifications, and use APNs to send notifications.

    • Both platforms require handling of notification payload in the app to di...

  • Answered by AI
  • Q4. How do you use in your last app?
  • Ans. 

    I used React Native for my last app.

    • Developed UI components using React Native

    • Integrated APIs to fetch and display data

    • Implemented Redux for state management

    • Used Firebase for authentication and database

    • Optimized app performance using React Native Debugger

  • Answered by AI
  • Q5. What is the difference between functional components and non functional components?
  • Ans. 

    Functional components are stateless and return UI elements based on input props, while non-functional components have state and can change UI based on user interaction.

    • Functional components are simpler and easier to test than non-functional components.

    • Non-functional components can have state and lifecycle methods, while functional components cannot.

    • Examples of functional components include buttons, labels, and icons, w...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Its Hard and requires deep knowledge of your technical skills.

Skills evaluated in this interview

I applied via Approached by Company and was interviewed in May 2022. There were 5 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Contains 50 question over g-form

Round 3 - Coding Test 

It has 8 questions on coderbyte.

Round 4 - Technical 

(1 Question)

  • Q1. All about data structure.
Round 5 - HR 

(1 Question)

  • Q1. Tell about family background?

Interview Preparation Tips

Interview preparation tips for other job seekers - Keep hands-on with data structures.
Also thought of additional approach to solve problem.
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Referral and was interviewed in Feb 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

Aptitude test was easy but difficult

Round 2 - Technical 

(2 Questions)

  • Q1. Technical questions linked list
  • Q2. Array binary search Dp
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed before Apr 2023. There were 2 interview rounds.

Round 1 - One-on-one 

(1 Question)

  • Q1. About java mainly
Round 2 - HR 

(2 Questions)

  • Q1. What aspires you most
  • Ans. 

    I'm inspired by the potential of technology to solve real-world problems and improve lives through innovation and creativity.

    • The ability to create software that enhances user experience, like developing an app that simplifies daily tasks.

    • Working on open-source projects that contribute to community development, such as collaborating on a tool for educational purposes.

    • Learning from industry leaders and innovators, like a...

  • Answered by AI
  • Q2. Tell me about project
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

It was basics on java and big data

Round 2 - Technical 

(1 Question)

  • Q1. Java c++ coding question
Are these interview questions helpful?
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Coding Test 

The interviewer asked about javascript basics and DSA questions and some typescript questions

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in Jan 2024. There were 3 interview rounds.

Round 1 - Assignment 

It was mostly on JavaScript

Round 2 - Technical 

(1 Question)

  • Q1. Focused on react
Round 3 - One-on-one 

(1 Question)

  • Q1. Brief about project

Interview Preparation Tips

Interview preparation tips for other job seekers - Focus on core concepts
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in Sep 2023. There were 2 interview rounds.

Round 1 - Aptitude Test 

Cover topics like closures, classes, functions

Round 2 - Technical 

(2 Questions)

  • Q1. Explain call bind apply
  • Ans. 

    Call, bind, and apply are methods used to manipulate the value of 'this' in JavaScript functions.

    • Call: Invokes a function with a specified 'this' value and arguments provided individually.

    • Example: func.call(thisArg, arg1, arg2)

    • Bind: Creates a new function that, when called, has a specified 'this' value and arguments provided one by one.

    • Example: var newFunc = func.bind(thisArg, arg1, arg2)

    • Apply: Invokes a function with ...

  • Answered by AI
  • Q2. Explain closures
  • Ans. 

    Closures are functions that have access to variables from their containing scope even after the scope has closed.

    • Closures allow functions to access variables from their outer function even after the outer function has finished executing.

    • They help in maintaining state in asynchronous operations.

    • Closures are commonly used in event handlers and callbacks.

  • Answered by AI

Skills evaluated in this interview

Reflections Info Systems Interview FAQs

How many rounds are there in Reflections Info Systems Php Full Stack Developer interview?
Reflections Info Systems interview process usually has 2 rounds. The most common rounds in the Reflections Info Systems interview process are Coding Test and Technical.
What are the top questions asked in Reflections Info Systems Php Full Stack Developer interview?

Some of the top questions asked at the Reflections Info Systems Php Full Stack Developer interview -

  1. Common #1 - What if an issue arise on a "Production" server that we can't trou...read more
  2. Laravel #7 - How to fetch 5 million records from 3 tables from a single DB in o...read more
  3. Laravel #3 - How to write a custom authentication & middlewa...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 1 interview experience

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 100%
View more

Interview Questions from Similar Companies

Affine Interview Questions
3.3
 • 51 Interviews
IT By Design Interview Questions
3.6
 • 41 Interviews
ConsultAdd Interview Questions
3.6
 • 37 Interviews
View all
Senior Software Engineer
48 salaries
unlock blur

₹5.8 L/yr - ₹13.5 L/yr

Software Engineer
36 salaries
unlock blur

₹2.4 L/yr - ₹5.5 L/yr

Data Engineer
13 salaries
unlock blur

₹2 L/yr - ₹5 L/yr

System Analyst
13 salaries
unlock blur

₹6.3 L/yr - ₹13 L/yr

Machine Learning Engineer
11 salaries
unlock blur

₹3 L/yr - ₹10 L/yr

Explore more salaries
Compare Reflections Info Systems with

Maxgen Technologies

4.6
Compare

JoulestoWatts Business Solutions

3.1
Compare

Value Point Systems

3.5
Compare

F1 Info Solutions and Services

3.8
Compare
write
Share an Interview