Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

KodaC's avatar
Level 1

ServiceProvider Order - forceScheme not working

Hi

I try to use amidesfahani/filament-tinyeditor. If I use local files, the Plugin use http instead of https.

In my AppServiceProvider I use

public function boot(): void
    {
        URL::forceScheme('https');

        $this->bootAuth();
        $this->bootEvent();
        $this->bootRoute();
    }

With app('url')I see that forceScheme is missing in TinyeditorServiceProvider. Maybe the TinyeditorServiceProvider is loading before AppServiceProvider?

How can I fix this?

0 likes
0 replies

Please or to participate in this conversation.