api.so-manager-dev.com/bootstrap/app.php
Your Name f139a3f608
All checks were successful
Deploy api / deploy (push) Successful in 22s
支払いAPI実装
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 20:02:25 +09:00

24 lines
806 B
PHP

<?php
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
return Application::configure(basePath: dirname(__DIR__))
->withRouting(
web: __DIR__.'/../routes/web.php',
api: __DIR__.'/../routes/api.php',
commands: __DIR__.'/../routes/console.php',
health: '/up',
)
->withMiddleware(function (Middleware $middleware) {
// APIキー認証ミドルウェアのエイリアス登録
$middleware->alias([
'api.key' => \App\Http\Middleware\ApiKeyAuthentication::class,
'wellnet.ip' => \App\Http\Middleware\WellnetIpWhitelist::class,
]);
})
->withExceptions(function (Exceptions $exceptions) {
//
})->create();