Facades, people seem to love them or hate them. Laravel Facades, however, aren’t strictly facades; are they?
When I first started with Laravel, I hated it, and after three years of using Larvel - I finally started to accept it.
One of the things I hated for a time was Facades.
declare(strict_types=1); namespace SendStack\Laravel\Facades; use Illuminate\Support\Facades\Facade; use SendStack\Laravel\Contracts\ClientContract; use SendStack\Laravel\Http\Resources\SubscribersResource; use SendStack\Laravel\Http\Resources\TagResource; /** * @method static SubscribersResource subscribers() * @method static TagResource tags() * @method static bool isActiveSubscriber(string $email) * * @see ClientContract */ class SendStack extends Facade { protected static function getFacadeAccessor() { return ClientContract::class; }}