illuminate\support\facades\request laravel 7 code example

Example: Illuminate\Http\Request vs \Illuminate\Support\Facades\Request

Straigth answer: No (particular difference) Except that: Referencing from this 
source, How laravel facades work and how to use

A Laravel facade is a class which provides a static-like interface to services 
inside the container. These facades, according to the documentation, serve as a 
proxy for accessing the underlying implementation of the container’s services.

I couldn't agree more with this. But as for me, using facade pattern simply 
make my code cleaner :)

Tags:

Php Example