intermediateLaravel
Previous
What are the system requirements for Laravel 13?
Next
What is the Laravel directory structure?
What is the Laravel request lifecycle?
Answer
Clear, interview-ready explanation
A web request enters the application through public/index.php. Composer’s autoloader is loaded, Laravel creates the application instance, and the HTTP kernel begins handling the request.
During bootstrapping, Laravel loads configuration and service providers. Providers register bindings and boot application services. The router matches the request to a route, and the request passes through global and route middleware. The route action creates a response, which travels back through middleware and is sent to the browser; Laravel then runs any terminable middleware.