CategoryController :: index

Request

GET Parameters

Key Value
includeChildren
"true"
limit
"500"
orderBy
"name"
paginated
"false"
sortOrder
"ASC"
usage
"product_type"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\User\CategoryController::index"
_firewall_context
"security.firewall.map.context.main"
_route
"user_category_index"
_route_params
[]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#454
    -supports: false
    -passport: null
    -duration: null
    -stub: "Scheb\TwoFactorBundle\Security\Http\Authenticator\TwoFactorAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Scheb\TwoFactorBundle\Security\Http\Authenticator\TwoFactorAuthenticator {#84 …}
  }
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#443
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator {#430 …}
  }
]
_stopwatch_token
"42a6f2"
_vary_by_language
true

Request Headers

Header Value
accept
"application/json, text/plain, */*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"es"
authorization
""
cookie
"main_auth_profile_token=788ced; PHPSESSID=922ae7c5554f0c6632c92745a5d6b1e1"
host
"topavi.dracoder.com"
priority
"u=1, i"
referer
"https://topavi.dracoder.com/distributor/exploded-views"
sec-ch-ua
""Google Chrome";v="155", "Chromium";v="155", "Not(A:Brand";v="24""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""Windows""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"185.110.214.232"
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"
date
"Mon, 19 Oct 2026 08:59:34 GMT"
vary
"Accept-Language"
x-debug-token
"143508"

Cookies

Request Cookies

Key Value
PHPSESSID
"922ae7c5554f0c6632c92745a5d6b1e1"
main_auth_profile_token
"788ced"

Response Cookies

No response cookies

Session 1

Session Metadata

Key Value
Created
"Mon, 19 Oct 26 08:51:26 +0000"
Last used
"Mon, 19 Oct 26 08:59:33 +0000"
Lifetime
0

Session Attributes

Attribute Value
_security_main
"O:68:"Symfony\Component\Security\Core\Authentication\Token\SwitchUserToken":3:{i:0;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:15:"App\Entity\User":26:{s:5:"\x00*\x00id";s:36:"e1d213a7-a827-410f-8a36-623e68f7991b";s:12:"\x00*\x00createdAt";O:8:"DateTime":3:{s:4:"date";s:26:"2026-09-17 14:29:32.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:12:"\x00*\x00updatedAt";O:8:"DateTime":3:{s:4:"date";s:26:"2026-09-17 14:29:32.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:25:"\x00App\Entity\User\x00username";s:11:"admintopavi";s:22:"\x00App\Entity\User\x00email";s:25:"gonzalo.saenz@workanda.es";s:21:"\x00App\Entity\User\x00name";s:13:"Administrador";s:24:"\x00App\Entity\User\x00surname";s:6:"Topavi";s:22:"\x00App\Entity\User\x00roles";a:1:{i:0;s:10:"ROLE_ADMIN";}s:28:"\x00App\Entity\User\x00mobilePhone";N;s:24:"\x00App\Entity\User\x00address";N;s:21:"\x00App\Entity\User\x00city";N;s:24:"\x00App\Entity\User\x00zipCode";N;s:22:"\x00App\Entity\User\x00state";N;s:24:"\x00App\Entity\User\x00country";N;s:30:"\x00App\Entity\User\x00priceModifier";s:4:"0.00";s:25:"\x00App\Entity\User\x00password";s:8:"00e19198";s:35:"\x00App\Entity\User\x00resetPasswordToken";N;s:23:"\x00App\Entity\User\x00locale";N;s:35:"\x00App\Entity\User\x00doubleFactorMethod";N;s:25:"\x00App\Entity\User\x00authCode";N;s:42:"\x00App\Entity\User\x00googleAuthenticatorSecret";N;s:27:"\x00App\Entity\User\x00disabledAt";N;s:28:"\x00App\Entity\User\x00lastLoginAt";O:8:"DateTime":3:{s:4:"date";s:26:"2026-10-19 08:51:26.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:28:"\x00App\Entity\User\x00lastLoginIp";s:15:"185.110.214.232";s:32:"\x00App\Entity\User\x00previousLoginAt";O:8:"DateTime":3:{s:4:"date";s:26:"2026-10-19 08:08:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:32:"\x00App\Entity\User\x00previousLoginIp";s:15:"185.110.214.232";}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";}}}i:1;s:19:"/api/switch-to-user";i:2;a:3:{i:0;N;i:1;s:4:"main";i:2;a:5:{i:0;O:15:"App\Entity\User":26:{s:5:"\x00*\x00id";s:36:"0240b712-e479-415d-b0c2-d0cf22341736";s:12:"\x00*\x00createdAt";O:8:"DateTime":3:{s:4:"date";s:26:"2026-09-17 14:25:53.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:12:"\x00*\x00updatedAt";O:8:"DateTime":3:{s:4:"date";s:26:"2026-09-17 14:25:53.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:25:"\x00App\Entity\User\x00username";s:20:"tallerresmateosnunez";s:22:"\x00App\Entity\User\x00email";s:29:"talleresmateosnunez@gmail.com";s:21:"\x00App\Entity\User\x00name";s:0:"";s:24:"\x00App\Entity\User\x00surname";s:0:"";s:22:"\x00App\Entity\User\x00roles";a:1:{i:0;s:16:"ROLE_DISTRIBUTOR";}s:28:"\x00App\Entity\User\x00mobilePhone";s:9:"647712298";s:24:"\x00App\Entity\User\x00address";N;s:21:"\x00App\Entity\User\x00city";N;s:24:"\x00App\Entity\User\x00zipCode";N;s:22:"\x00App\Entity\User\x00state";N;s:24:"\x00App\Entity\User\x00country";N;s:30:"\x00App\Entity\User\x00priceModifier";s:4:"0.00";s:25:"\x00App\Entity\User\x00password";s:8:"7541f447";s:35:"\x00App\Entity\User\x00resetPasswordToken";N;s:23:"\x00App\Entity\User\x00locale";N;s:35:"\x00App\Entity\User\x00doubleFactorMethod";N;s:25:"\x00App\Entity\User\x00authCode";N;s:42:"\x00App\Entity\User\x00googleAuthenticatorSecret";N;s:27:"\x00App\Entity\User\x00disabledAt";N;s:28:"\x00App\Entity\User\x00lastLoginAt";N;s:28:"\x00App\Entity\User\x00lastLoginIp";N;s:32:"\x00App\Entity\User\x00previousLoginAt";N;s:32:"\x00App\Entity\User\x00previousLoginIp";N;}i:1;b:1;i:2;N;i:3;a:0:{}i:4;a:2:{i:0;s:16:"ROLE_DISTRIBUTOR";i:1;s:9:"ROLE_USER";}}}}"

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:42
[
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 42
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/scheb/2fa-bundle/Security/Http/Firewall/TwoFactorAccessListener.php"
    "line" => 51
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 46
    "function" => "authenticate"
    "class" => "Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 70
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 94
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/security-http/Firewall.php"
    "line" => 93
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 115
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 129
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 161
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/http-kernel/Kernel.php"
    "line" => 193
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 34
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/topavi.dracoder.com/httpdocs/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/vhosts/topavi.dracoder.com/httpdocs/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"3fc45eed206d2a7c74cfc0fa44c775ac"
APP_SHARE_DIR
"var/share"
DATABASE_CHARSET
"utf8mb4"
DATABASE_CONNECTION
"pdo_mysql"
DATABASE_HOST
"127.0.0.1"
DATABASE_NAME
"topavidb"
DATABASE_PASSWORD
"DXqgKratq1cs@?11"
DATABASE_PORT
"3306"
DATABASE_ROOT_PASSWORD
""
DATABASE_SERVER_VERSION
"11.2.2-MariaDB"
DATABASE_USERNAME
"topavidb"
DEFAULT_URI
"http://localhost"
FILES_BASE_DIR_PATH
"uploads/"
IS_FILES_BASE_DIR_PATH_ABSOLUTE
"0"
LEGACY_DATABASE_CHARSET
"utf8mb4"
LEGACY_DATABASE_CONNECTION
"pdo_mysql"
LEGACY_DATABASE_HOST
"127.0.0.1"
LEGACY_DATABASE_NAME
"legacy_topavi"
LEGACY_DATABASE_PASSWORD
"DXqgKratq1cs@?11"
LEGACY_DATABASE_PORT
"3306"
LEGACY_DATABASE_SERVER_VERSION
"11.2.2-MariaDB"
LEGACY_DATABASE_USERNAME
"topavidb"
LEGACY_MEDIA_BASE_URL
"https://topavi.es/uploads/media"
LEGACY_MEDIA_LOCAL_DIR
""
MAILER_NO_REPLY_DSN
"smtp://noreply@dracoder.com:Ohy5h7%2487Y2b00j3%21x@yellducal.workandahost.es:587?encryption=starttls&auth_mode=login"
MAILER_NO_REPLY_SENDER_EMAIL
"noreply@dracoder.com"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
PORT_FRONTEND
"5173"
TOKENIZER_NGRAM_SIZE
"4"
VITE_DEFAULT_LANG
"en"
VITE_LABOR_HOURLY_RATE
"0"
VITE_UNAUTHORIZED_MSG
"Unauthorized access"
VITE_VAT_RATE
"21"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_PROJECT_DIR
"/var/www/vhosts/topavi.dracoder.com/httpdocs"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/var/www/vhosts/topavi.dracoder.com/httpdocs"
]
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/topavi.dracoder.com/httpdocs/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/topavi.dracoder.com/httpdocs/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/topavi.dracoder.com"
HTTPS
"on"
HTTP_ACCEPT
"application/json, text/plain, */*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"es"
HTTP_AUTHORIZATION
""
HTTP_COOKIE
"main_auth_profile_token=788ced; PHPSESSID=922ae7c5554f0c6632c92745a5d6b1e1"
HTTP_HOST
"topavi.dracoder.com"
HTTP_PRIORITY
"u=1, i"
HTTP_REFERER
"https://topavi.dracoder.com/distributor/exploded-views"
HTTP_SEC_CH_UA
""Google Chrome";v="155", "Chromium";v="155", "Not(A:Brand";v="24""
HTTP_SEC_CH_UA_MOBILE
"?0"
HTTP_SEC_CH_UA_PLATFORM
""Windows""
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"185.110.214.232"
HTTP_X_REQUESTED_WITH
"XMLHttpRequest"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"paginated=false&includeChildren=true&usage=product_type&limit=500&orderBy=name&sortOrder=ASC"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_QUERY_STRING
"paginated=false&includeChildren=true&usage=product_type&limit=500&orderBy=name&sortOrder=ASC"
REDIRECT_SCRIPT_URI
"https://topavi.dracoder.com/api/user/category"
REDIRECT_SCRIPT_URL
"/api/user/category"
REDIRECT_SSL_TLS_SNI
"topavi.dracoder.com"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"atXb9Y8eBZfJO8dTtjZXjAAAAQc"
REDIRECT_URL
"/api/user/category"
REMOTE_ADDR
"185.110.214.232"
REMOTE_PORT
"45802"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1792400373
REQUEST_TIME_FLOAT
1792400373.4613
REQUEST_URI
"/api/user/category?paginated=false&includeChildren=true&usage=product_type&limit=500&orderBy=name&sortOrder=ASC"
SCRIPT_FILENAME
"/var/www/vhosts/topavi.dracoder.com/httpdocs/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://topavi.dracoder.com/api/user/category"
SCRIPT_URL
"/api/user/category"
SERVER_ADDR
"176.32.53.103"
SERVER_ADMIN
"root@localhost"
SERVER_NAME
"topavi.dracoder.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"topavi.dracoder.com"
SYMFONY_DOTENV_PATH
"/var/www/vhosts/topavi.dracoder.com/httpdocs/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_SHARE_DIR,PORT_FRONTEND,VITE_DEFAULT_LANG,VITE_UNAUTHORIZED_MSG,DEFAULT_URI,DATABASE_CONNECTION,DATABASE_HOST,DATABASE_PORT,DATABASE_NAME,DATABASE_USERNAME,DATABASE_ROOT_PASSWORD,DATABASE_PASSWORD,DATABASE_CHARSET,DATABASE_SERVER_VERSION,MAILER_NO_REPLY_DSN,MAILER_NO_REPLY_SENDER_EMAIL,FILES_BASE_DIR_PATH,IS_FILES_BASE_DIR_PATH_ABSOLUTE,LEGACY_DATABASE_CONNECTION,LEGACY_DATABASE_HOST,LEGACY_DATABASE_PORT,LEGACY_DATABASE_USERNAME,LEGACY_DATABASE_PASSWORD,LEGACY_DATABASE_NAME,LEGACY_DATABASE_CHARSET,LEGACY_DATABASE_SERVER_VERSION,LEGACY_MEDIA_LOCAL_DIR,LEGACY_MEDIA_BASE_URL,MESSENGER_TRANSPORT_DSN,TOKENIZER_NGRAM_SIZE,VITE_LABOR_HOURLY_RATE,VITE_VAT_RATE"
UNIQUE_ID
"atXb9Y8eBZfJO8dTtjZXjAAAAQc"
USER
"topavi.dracoder.com_xpfjuu8dlg"
proxy-nokeepalive
"1"