refactor(support): group Bouncer, Media, Setup files into subdirs

Finishes the Support/ consolidation pass: the three remaining root-level files get grouped into purpose-named subdirs, matching the shape the Pdf/, Hashids/, Update/, and Module/ subdirs took in the earlier sweep.

- BouncerDefaultScope → Support/Bouncer/ (Bouncer-specific authorization scope)

- CustomPathGenerator → Support/Media/ (Spatie MediaLibrary path generator — media config references it from config/media-library.php)

- InstallWizardAuth → Support/Setup/ (folded into the existing Setup/ subdir alongside EnvironmentManager, FilePermissionChecker, InstallUtils, RequirementsChecker — it's install-wizard-flow state)

4 consumer files updated (AppServiceProvider, LoginController, UseInstallWizardTokenAuth middleware, config/media-library.php). app/Support/ root is now completely empty of standalone PHP files except helpers.php.
This commit is contained in:
Darko Gjorgjijoski
2026-04-11 15:00:00 +02:00
parent 8cc4a6fa98
commit 4c3d809f89
7 changed files with 8 additions and 8 deletions

View File

@@ -3,8 +3,8 @@
namespace App\Http\Middleware;
use App\Models\Setting;
use App\Support\InstallWizardAuth;
use App\Support\Setup\InstallUtils;
use App\Support\Setup\InstallWizardAuth;
use Closure;
use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response;