Tag Archives: technical questions in laravel

What is Middleware in laravel?

Click here for more interview questions Middleware acts as bridge between request and response. Middleware verifies the user is authenticated or not depends on this it is redirect to home and login page. command to create middleware php artisan make:middleware Two types of middleware in laravel global middleware- run on every http request routemiddleware-assigned to… Read More »

Interview questions and answers in laravel

Top 100 Interview questions and answers in laravel Usage of config helper function in laravel its a global function we can access the configuration file value using dot operator.It includes the name of the file and the option we need to access. Example: To get the value :: config(‘app.timezone’); To set the configuration value:: config([‘app.timezone’=>’America/Chicago’]);… Read More »