Author: tayyaba
-
Explain Auth.
It is a method of identifying user login credential with a password. In Laravel it can be managed with a session which takes two parameters 1) username and 2) password.
-
How to configure a mail-in Laravel?
Laravel provides APIs to send an email on local and live server.
-
What is the use of dd() function?
This function is used to dump contents of a variable to the browser. The full form of dd is Dump and Die.
-
Explain fluent query builder in Laravel.
It is a database query builder that provides convenient, faster interface to create and run database queries.
-
Which class is used to handle exceptions?
Laravel exceptions are handled by App\Exceptions\Handler class
-
How can you generate URLs?
Laravel has helpers to generate URLs. This is helpful when you build link in your templates and API response.
-
Explain PHP artisan
An artisan is a command-line tool of Laravel. It provides commands that help you to build Laravel application without any hassle.
-
Define Lumen
Lumen is a micro-framework. It is a smaller, and faster, version of a building Laravel based services, and REST API’s.