Laravel Facades
Real-Time Facade
Laravel's Real-Time Facades allow you to utilize any class in your application as a facade without manually creating one. By prefixing Facades
to the namespace when importing a class, laravel dynamically finds the class.
By default, PHPStorm does not recognize classes prefixed with Facades
as these are dynamically resolved. This limitation leads to the absence of features like autocompletion and "Go to Declaration" for methods within real-time facades. This feature allows you to navigate to the actual class and method definition and provides autocompletion for methods.
Facade settings
By default, Whisperer for Laravel suppresses the real-time facade warnings for Undefined class
& Undefined namespace
. You can enable or disable this anytime.