POST http://ostadyar.ir/api/ai/widget-suggestions

AiAssistantController :: widgetSuggestions

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\AiAssistantController::widgetSuggestions"
_firewall_context
"security.firewall.map.context.main"
_route
"api_ai_widget_suggestions"
_route_params
[]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#632
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#517 …}
  }
]
_stopwatch_token
"bf8627"

Request Headers

Header Value
accept
"application/json, text/plain, */*"
accept-encoding
"gzip, deflate"
accept-language
"fa,en-GB;q=0.9,en-US;q=0.8,en;q=0.7,sv;q=0.6,zh-TW;q=0.5,zh;q=0.4"
connection
"keep-alive"
content-length
"0"
cookie
"AsideToggle=0; ostad_device=fbdc298bc6f2cde4a622b245d418112d833766b0b4ae070b; ostad_theme=light; main_auth_profile_token=293e64; PHPSESSID=567f65fcf90e7c1a6fb0e2ef1f6142d9; ostad_sidebar_collapsed=0"
host
"ostadyar.ir"
origin
"http://ostadyar.ir"
referer
"http://ostadyar.ir/blog?category=cat-test-1789970121&q="
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Safari/537.36"
x-php-ob-level
"1"
x-requested-with
"XMLHttpRequest"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
cross-origin-opener-policy
"same-origin-allow-popups"
date
"Wed, 07 Oct 2026 05:44:59 GMT"
referrer-policy
"strict-origin-when-cross-origin"
x-content-type-options
"nosniff"
x-debug-token
"e3572c"
x-frame-options
"SAMEORIGIN"
x-permitted-cross-domain-policies
"none"

Cookies

Request Cookies

Key Value
AsideToggle
"0"
PHPSESSID
"567f65fcf90e7c1a6fb0e2ef1f6142d9"
main_auth_profile_token
"293e64"
ostad_device
"fbdc298bc6f2cde4a622b245d418112d833766b0b4ae070b"
ostad_sidebar_collapsed
"0"
ostad_theme
"light"

Response Cookies

No response cookies

Session 5

Session Metadata

Key Value
Created
"Wed, 07 Oct 26 05:30:01 +0000"
Last used
"Wed, 07 Oct 26 05:44:59 +0000"
Lifetime
86400

Session Attributes

Attribute Value
_csrf/admin_skyroom_action
"-xv3tOOODqcnJ1xH8N0ZheS41hpyerh9UTfdU-tl9wE"
_csrf/rbac_module_edit
"vECeH3xOZ4qhzM6IJ-tv1XRqP7pzP1O9xyqwaZjQlfA"
_csrf/rbac_role_form
"V2d802MqTb9mgv8JIQkS4Dl-we5b54ULsNt0udc_auw"
_csrf/user_create
"d0oUWEDMTUNdCsc7TMCmFtLvxZJGZ5vrczc5gazMfGc"
_csrf/user_status_toggle_general
"92ymJy0NxrxU6LmkfH4EaAYKI3I_tVW1u5azxA6GxX4"
_security.last_username
"09120000000"
_security_main
"O:74:"Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken":3:{i:0;N;i:1;s:4:"main";i:2;a:5:{i:0;O:20:"App\Entity\User\User":37:{s:24:"\x00App\Entity\User\User\x00id";i:1;s:28:"\x00App\Entity\User\User\x00mobile";s:11:"09120000000";s:27:"\x00App\Entity\User\User\x00email";s:17:"admin@ostadyar.ir";s:37:"\x00App\Entity\User\User\x00emailVerifiedAt";N;s:38:"\x00App\Entity\User\User\x00mobileVerifiedAt";N;s:33:"\x00App\Entity\User\User\x00passwordSet";b:1;s:38:"\x00App\Entity\User\User\x00twoFactorEnabled";b:0;s:30:"\x00App\Entity\User\User\x00password";s:60:"$2y$13$pxhSh7HQ.j3pB4Xik0k1/um8Uyu1toT/.hKee.m4NLYb7UvModcdC";s:31:"\x00App\Entity\User\User\x00firstName";s:8:"مدیر";s:30:"\x00App\Entity\User\User\x00lastName";s:10:"سیستم";s:34:"\x00App\Entity\User\User\x00nationalCode";N;s:28:"\x00App\Entity\User\User\x00gender";N;s:30:"\x00App\Entity\User\User\x00headline";N;s:25:"\x00App\Entity\User\User\x00bio";N;s:31:"\x00App\Entity\User\User\x00education";N;s:33:"\x00App\Entity\User\User\x00socialLinks";N;s:28:"\x00App\Entity\User\User\x00avatar";s:30:"avatar_1_96692adbada64498.webp";s:28:"\x00App\Entity\User\User\x00status";E:33:"App\Entity\User\UserStatus:ACTIVE";s:33:"\x00App\Entity\User\User\x00lastLoginAt";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2026-10-07 05:30:01.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:33:"\x00App\Entity\User\User\x00liveAccount";N;s:34:"\x00App\Entity\User\User\x00organization";N;s:33:"\x00App\Entity\User\User\x00skyroomMode";s:8:"platform";s:35:"\x00App\Entity\User\User\x00skyroomApiKey";N;s:35:"\x00App\Entity\User\User\x00skyroomApiUrl";N;s:42:"\x00App\Entity\User\User\x00skyroomRequestStatus";s:8:"approved";s:40:"\x00App\Entity\User\User\x00skyroomRequestNote";s:121:"می خوام کلاس برنامه نویسی بزارم. نیازمند اشتراک 10 جلسه 2 ساعتی هستم.";s:39:"\x00App\Entity\User\User\x00skyroomApprovedAt";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2026-09-16 12:10:20.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:27:"\x00App\Entity\User\User\x00roles";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:1:{i:0;O:20:"App\Entity\User\Role":8:{s:24:"\x00App\Entity\User\Role\x00id";i:1;s:26:"\x00App\Entity\User\Role\x00code";s:10:"ROLE_ADMIN";s:26:"\x00App\Entity\User\Role\x00name";s:28:"مدیر ارشد سیستم";s:33:"\x00App\Entity\User\Role\x00description";s:68:"دسترسی کامل به تمام امکانات و تنظیمات";s:30:"\x00App\Entity\User\Role\x00isSystem";b:1;s:33:"\x00App\Entity\User\Role\x00permissions";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:0:{}}s:14:"\x00*\x00initialized";b:0;}s:31:"\x00App\Entity\User\Role\x00createdAt";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2026-09-09 06:06:20.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:31:"\x00App\Entity\User\Role\x00updatedAt";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2026-09-15 04:56:07.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}}}}s:14:"\x00*\x00initialized";b:1;}s:39:"\x00App\Entity\User\User\x00customPermissions";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:0:{}}s:14:"\x00*\x00initialized";b:0;}s:37:"\x00App\Entity\User\User\x00skyroomRequests";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:0:{}}s:14:"\x00*\x00initialized";b:0;}s:36:"\x00App\Entity\User\User\x00negativePoints";i:0;s:34:"\x00App\Entity\User\User\x00referralCode";s:9:"OST-88E3E";s:32:"\x00App\Entity\User\User\x00referredBy";N;s:35:"\x00App\Entity\User\User\x00walletBalance";i:0;s:31:"\x00App\Entity\User\User\x00createdAt";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2026-09-09 06:06:20.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:31:"\x00App\Entity\User\User\x00updatedAt";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2026-10-07 05:30:01.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:31:"\x00App\Entity\User\User\x00deletedAt";N;}i:1;b:1;i:2;N;i:3;a:0:{}i:4;a:2:{i:0;s:10:"ROLE_ADMIN";i:1;s:9:"ROLE_USER";}}}"
csrf-token
257
device_hash
"1e8cefc05a44a78dcfa103e81f92518308e93bfd4947d0f2a3951e42b22864e0"
device_touched_at
1791351898

Session Usage

5 Usages
Stateless check enabled
Usage
App\EventSubscriber\LocaleSubscriber:27
[
  [
    "file" => "/var/www/ostadyar/html/src/EventSubscriber/LocaleSubscriber.php"
    "line" => 27
    "function" => "get"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 115
    "function" => "onKernelRequest"
    "class" => "App\EventSubscriber\LocaleSubscriber"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 129
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 159
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/Kernel.php"
    "line" => 193
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 34
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/ostadyar/html/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
App\Service\User\AccountSecurityService:261
[
  [
    "file" => "/var/www/ostadyar/html/src/Service/User/AccountSecurityService.php"
    "line" => 261
    "function" => "get"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/src/EventSubscriber/TwoFactorSubscriber.php"
    "line" => 77
    "function" => "isChallengePending"
    "class" => "App\Service\User\AccountSecurityService"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 115
    "function" => "onKernelRequest"
    "class" => "App\EventSubscriber\TwoFactorSubscriber"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 129
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 159
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/Kernel.php"
    "line" => 193
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 34
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/ostadyar/html/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:42
[
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 42
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/src/EventSubscriber/DeviceSubscriber.php"
    "line" => 71
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 115
    "function" => "onKernelRequest"
    "class" => "App\EventSubscriber\DeviceSubscriber"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 129
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 159
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/Kernel.php"
    "line" => 193
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 34
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/ostadyar/html/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
App\EventSubscriber\DeviceSubscriber:82
[
  [
    "file" => "/var/www/ostadyar/html/src/EventSubscriber/DeviceSubscriber.php"
    "line" => 82
    "function" => "get"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 115
    "function" => "onKernelRequest"
    "class" => "App\EventSubscriber\DeviceSubscriber"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 129
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 159
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/Kernel.php"
    "line" => 193
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 34
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/ostadyar/html/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
App\EventSubscriber\DeviceSubscriber:112
[
  [
    "file" => "/var/www/ostadyar/html/src/EventSubscriber/DeviceSubscriber.php"
    "line" => 112
    "function" => "get"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 115
    "function" => "onKernelRequest"
    "class" => "App\EventSubscriber\DeviceSubscriber"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 129
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 159
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/http-kernel/Kernel.php"
    "line" => 193
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 34
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/ostadyar/html/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/ostadyar/html/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"1cd6c8d675cf831db165d5aadb7648e4"
APP_SHARE_DIR
"var/share"
APP_URL
"ostadyar.ir"
APP_VERSION
"15.0"
BORDER_WIDTH_BOTTOM
"15"
BORDER_WIDTH_TOP
"7"
CACHE_DAY
"86400"
CACHE_DEFAULT
"filesystem"
CACHE_DEFAULT_EXPIRED
"3600"
CACHE_LG
"-1"
CACHE_MD
"21600"
CACHE_MONTH
"2592000"
CACHE_NAME
"cache.ostadyar.2026.09.121"
CACHE_SM
"3600"
CACHE_TIME
"3600"
CACHE_WEEK
"604800"
CACHE_YEAR
"31536000"
CAPTCHA_MODE
"math"
CDN_BASE_URL
""
DATABASE_URL
"mysql://root:N127+8t9KCh5xn9!Hd@127.0.0.1:3306/ostadyar?serverVersion=10.6.9-MariaDB-1&charset=utf8mb4"
DB_DRIVER
"pdo_mysql"
DB_HOST
"127.0.0.1"
DB_NAME
"ostadyar"
DB_PASSWORD
"N127+8t9KCh5xn9!Hd"
DB_PORT
"3306"
DB_TYPE
"mysql"
DB_USERNAME
"root"
DB_VERSION
"10.6.9-MariaDB-1"
DEFAULT_URI
"http://localhost"
FILL
"#ffffff"
LOADING_DATA
"#ffffff:#2050ff:15:7:5:1"
LOADING_TIME
"1"
LOCK_DSN
"flock"
LOGO_WIDTH
"5"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"sync://"
REDIS_PASSWORD
""
REDIS_URL
"redis://127.0.0.1:6379"
STROKE
"#2050ff"

Defined as regular env variables

Key Value
APP_PROJECT_DIR
"/var/www/ostadyar/html"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/var/www/ostadyar/html"
]
CONTENT_LENGTH
"0"
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/www/ostadyar/html/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTP_ACCEPT
"application/json, text/plain, */*"
HTTP_ACCEPT_ENCODING
"gzip, deflate"
HTTP_ACCEPT_LANGUAGE
"fa,en-GB;q=0.9,en-US;q=0.8,en;q=0.7,sv;q=0.6,zh-TW;q=0.5,zh;q=0.4"
HTTP_CONNECTION
"keep-alive"
HTTP_CONTENT_LENGTH
"0"
HTTP_COOKIE
"AsideToggle=0; ostad_device=fbdc298bc6f2cde4a622b245d418112d833766b0b4ae070b; ostad_theme=light; main_auth_profile_token=293e64; PHPSESSID=567f65fcf90e7c1a6fb0e2ef1f6142d9; ostad_sidebar_collapsed=0"
HTTP_HOST
"ostadyar.ir"
HTTP_ORIGIN
"http://ostadyar.ir"
HTTP_REFERER
"http://ostadyar.ir/blog?category=cat-test-1789970121&q="
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Safari/537.36"
HTTP_X_REQUESTED_WITH
"XMLHttpRequest"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"2.177.11.120"
REMOTE_PORT
"57364"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1791351899
REQUEST_TIME_FLOAT
1791351899.0599
REQUEST_URI
"/api/ai/widget-suggestions"
SCRIPT_FILENAME
"/var/www/ostadyar/html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"185.213.167.210"
SERVER_NAME
"ostadyar.ir"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.30.4"
SYMFONY_DOTENV_PATH
"/var/www/ostadyar/html/.env"
SYMFONY_DOTENV_VARS
"LOCK_DSN,APP_SHARE_DIR,DEFAULT_URI,APP_ENV,APP_DEBUG,APP_URL,APP_VERSION,APP_SECRET,DB_HOST,DB_NAME,DB_USERNAME,DB_PASSWORD,DB_DRIVER,DB_TYPE,DB_PORT,DB_VERSION,DATABASE_URL,CAPTCHA_MODE,FILL,STROKE,BORDER_WIDTH_BOTTOM,BORDER_WIDTH_TOP,LOGO_WIDTH,LOADING_TIME,LOADING_DATA,CDN_BASE_URL,MAILER_DSN,MESSENGER_TRANSPORT_DSN,CACHE_DEFAULT,CACHE_NAME,CACHE_TIME,CACHE_DAY,CACHE_WEEK,CACHE_MONTH,CACHE_YEAR,CACHE_SM,CACHE_MD,CACHE_LG,CACHE_DEFAULT_EXPIRED,REDIS_URL,REDIS_PASSWORD"
USER
"www-data"