First Commit

This commit is contained in:
marco
2026-09-01 10:46:29 -03:00
commit bf96b77e9c
10000 changed files with 3508600 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
namespace Modules\Affiliates\Providers;
use Kernel\Application;
use Modules\Affiliates\Middleware\AffiliateMiddleware;
class AffiliatesServiceProvider
{
public function register(): void
{
// The ModuleLoader handles loading routes, views, and translations
// based on module.json. No need to call them here.
}
public function boot(Application $app): void
{
$app->addProtectedMiddleware(new AffiliateMiddleware());
}
}