A Pro subscription is required to watch this lesson.

Let's take a look at some of the underlying source code for Laravel's request object. It leverages Symfony's HTTP Foundation package and adds functionality on top of it. As an exercise, we create our own custom request class and re-create some of the methods on Laravel's request object.

Source dive Laravel's Request objectSymfony HTTP Foundation component

Would you like to hear from Laracasts by email occasionally?