Initial V2 commit

This commit is contained in:
Hamza-Ayed
2026-04-22 21:59:56 +03:00
commit 4706404488
53 changed files with 4392 additions and 0 deletions

25
config/cors.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
return [
'paths' => ['v2/*'],
'allowed_methods' => ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
'allowed_origins' => [
'https://intaleq.xyz',
'https://admin.intaleq.xyz',
'https://api-v2.intaleq.xyz',
],
'allowed_origins_patterns' => [],
'allowed_headers' => [
'Content-Type',
'Authorization',
'X-API-Key',
'X-Timestamp',
'X-Signature',
'X-Nonce',
'Accept',
'X-Requested-With',
],
'exposed_headers' => [],
'max_age' => 86400,
'supports_credentials' => false,
];