POST http://rc.liftapp.it/api/materials

ApiMaterialsController :: getAllMaterials

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\api\ApiMaterialsController::getAllMaterials"
_firewall_context
"security.firewall.map.context.main"
_nelmio_cors_should_allow_origin
true
_nelmio_cors_should_force_origin
true
_route
"api_materials_data"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"056606"

Request Headers

Header Value
accept
"application/json, text/javascript, */*; q=0.01"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7"
connection
"close"
content-length
"0"
cookie
"PHPSESSID=854fb0112206c2f22768297f61ce5736"
host
"rc.liftapp.it"
origin
"https://rc.liftapp.it"
priority
"u=1, i"
referer
"https://rc.liftapp.it/materials"
sec-ch-ua
""Chromium";v="146", "Not-A.Brand";v="24", "Google Chrome";v="146""
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/146.0.0.0 Safari/537.36"
x-forwarded-for
"93.145.226.34"
x-forwarded-proto
"https"
x-forwarded-scheme
"https"
x-php-ob-level
"0"
x-real-ip
"93.145.226.34"
x-requested-with
"XMLHttpRequest"

Request Content

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

Response

Response Headers

Header Value
access-control-allow-origin
"*"
access-control-expose-headers
"content-type, authorization"
cache-control
"no-cache, private"
content-type
"application/json"
date
"Fri, 03 Apr 2026 08:26:20 GMT"
x-debug-token
"5343ba"

Cookies

Request Cookies

Key Value
PHPSESSID
"854fb0112206c2f22768297f61ce5736"

Response Cookies

No response cookies

Session 3

Session Metadata

Key Value
Created
"Thu, 02 Apr 26 16:00:33 +0200"
Last used
"Fri, 03 Apr 26 10:26:19 +0200"
Lifetime
86400

Session Attributes

Attribute Value
Symfony\Bundle\SecurityBundle\Security
"s.barsanti@ascensoriservizimecherini.it"
_csrf/App\Form\ImplantFormType
"og-t8wSMRQTgATLgk0StAo-koZqJHzRZd1w0TFcxYOg"
_csrf/App\Form\MaterialFormType
"por-rWmzdaWw9kWCzL6tKPnaHElblxuFmYOi_TpHCUo"
_csrf/App\Form\jobs\ExtraordinaryJobFormType
"HBHa5zyGjjdRJqPtA1zNl79WhP2EyfS20jIO1H6Gp_Y"
_csrf/App\Form\registries\CondominiumAdministratorFormType
"ArwvMlSmkzJb80SXZl4cI-G2d4Y20fiX3GmADmWAGW8"
_csrf/App\Form\registries\CustomerFormType
"vLmm5fv0OZudRpfNUMr5dJPaLtHNHlksUNxCSnG450w"
_csrf/authenticate
"JvhHlmyOE7faaqF3Ahx8p1HNEw7-re_uChKCyG83sLQ"
_csrf/change-password
"TZlD3ZjfxWYrpEgstiA_NCQFFWuBqiV7Mm-PMP1VJZY"
_security_main
"O:75:"Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken":2:{i:0;s:4:"main";i:1;a:5:{i:0;O:18:"App\Entity\SysUser":10:{s:32:"\x00App\Entity\BaseEntity\x00createdAt";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2025-04-23 18:45:58.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:11:"Europe/Rome";}s:32:"\x00App\Entity\BaseEntity\x00updatedAt";O:8:"DateTime":3:{s:4:"date";s:26:"2026-04-02 16:00:33.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:11:"Europe/Rome";}s:32:"\x00App\Entity\BaseEntity\x00deletedAt";N;s:22:"\x00App\Entity\SysUser\x00id";i:7;s:25:"\x00App\Entity\SysUser\x00email";s:39:"s.barsanti@ascensoriservizimecherini.it";s:25:"\x00App\Entity\SysUser\x00roles";a:1:{i:0;s:9:"ROLE_USER";}s:28:"\x00App\Entity\SysUser\x00username";s:39:"s.barsanti@ascensoriservizimecherini.it";s:28:"\x00App\Entity\SysUser\x00password";s:60:"$2y$13$01kpGDG1aqnuKAXckNK8nOXA7a2bfa3.uT0vgj4aYilpbrWs2Int2";s:28:"\x00App\Entity\SysUser\x00sysRoles";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:30:"\x00App\Entity\SysUser\x00lastAccess";O:8:"DateTime":3:{s:4:"date";s:26:"2026-04-02 16:00:33.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:11:"Europe/Rome";}}i:1;b:1;i:2;N;i:3;a:0:{}i:4;a:1:{i:0;s:9:"ROLE_USER";}}}"
selected_company
[
  "id" => 3
  "name" => "Ascensori Servizi Mecherini S.r.l."
  "role" => "Admin"
]

Session Usage

3 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[
  [
    "file" => "/var/www/symfony/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 41
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 78
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 46
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 77
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/security-http/Firewall.php"
    "line" => 95
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/http-kernel/Kernel.php"
    "line" => 185
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/symfony/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
App\Service\CompanySessionService:23
[
  [
    "file" => "/var/www/symfony/src/Service/CompanySessionService.php"
    "line" => 23
    "function" => "get"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/src/Service/CompanySessionService.php"
    "line" => 44
    "function" => "getCompany"
    "class" => "App\Service\CompanySessionService"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/src/Repository/middleware/CompanyFilterTrait.php"
    "line" => 25
    "function" => "getCompanyObject"
    "class" => "App\Service\CompanySessionService"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/src/Repository/MaterialRepository.php"
    "line" => 28
    "function" => "createQueryBuilder"
    "class" => "App\Repository\MaterialRepository"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/src/Service/material/MaterialService.php"
    "line" => 55
    "function" => "get_all_material"
    "class" => "App\Repository\MaterialRepository"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/src/Controller/api/ApiMaterialsController.php"
    "line" => 68
    "function" => "getAllMaterialsForDatatables"
    "class" => "App\Service\material\MaterialService"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 178
    "function" => "getAllMaterials"
    "class" => "App\Controller\api\ApiMaterialsController"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/http-kernel/Kernel.php"
    "line" => 185
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/symfony/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\Security\Http\Firewall\ContextListener:174
[
  [
    "file" => "/var/www/symfony/vendor/symfony/security-http/Firewall/ContextListener.php"
    "line" => 174
    "function" => "set"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 211
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 199
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/http-kernel/Kernel.php"
    "line" => 185
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/symfony/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/symfony/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
GIT_BRANCH_CLEANED
"rc"
GIT_COMMIT_HASH
"c718c1ca75b89bf5ad1053b9376be450198f3d51"
GIT_COMMIT_SHORT_HASH
"c718c1c"
GIT_COMMIT_TAG
"c718c1c"
GIT_REF_TAG
"rc"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"q3049578903h8230459y8h40è9y78b2"
APP_STAGE
"rc"
APP_TIMEZONE
"Europe/Rome"
CONTENT_LENGTH
"0"
CONTENT_TYPE
""
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://root:12345@db:3306/liftapp_rc?serverversion=mariadb-11.3&charset=utf8"
DOCUMENT_ROOT
"/var/www/symfony/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC"
HOME
"/var/www"
HOSTNAME
"b67239d47a71"
HTTP_ACCEPT
"application/json, text/javascript, */*; q=0.01"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7"
HTTP_CONNECTION
"close"
HTTP_CONTENT_LENGTH
"0"
HTTP_COOKIE
"PHPSESSID=854fb0112206c2f22768297f61ce5736"
HTTP_HOST
"rc.liftapp.it"
HTTP_ORIGIN
"https://rc.liftapp.it"
HTTP_PRIORITY
"u=1, i"
HTTP_REFERER
"https://rc.liftapp.it/materials"
HTTP_SEC_CH_UA
""Chromium";v="146", "Not-A.Brand";v="24", "Google Chrome";v="146""
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/146.0.0.0 Safari/537.36"
HTTP_X_FORWARDED_FOR
"93.145.226.34"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SCHEME
"https"
HTTP_X_REAL_IP
"93.145.226.34"
HTTP_X_REQUESTED_WITH
"XMLHttpRequest"
JWT_PASSPHRASE
"c3cd0be3f0fbb538d285386ebaf53c35b524c91c8bd6ceb5f1f1907c032a0b9a"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"smtp://info@codlytech.it:68%2CIsecOp%2C%3F%279k8uaqwetcr4%20g7h6m8otw4@mail.codlytech.it:587?encryption=tls"
MAILER_FROM
"info@codlytech.it"
MAILER_TO
"alex313962@gmail.com"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.2.29.tar.xz.asc"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_INI_DIR
"/usr/local/etc/php"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_SELF
"/index.php"
PHP_SHA256
"475f991afd2d5b901fb410be407d929bc00c46285d3f439a02c59e8b6fe3589c"
PHP_URL
"https://www.php.net/distributions/php-8.2.29.tar.xz"
PHP_VERSION
"8.2.29"
PWD
"/var/www/symfony"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"172.20.0.1"
REMOTE_PORT
"55058"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1775204780
REQUEST_TIME_FLOAT
1775204780.0207
REQUEST_URI
"/api/materials"
SCRIPT_FILENAME
"/var/www/symfony/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.20.0.4"
SERVER_NAME
"localhost"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.29.1"
SHLVL
"0"
SYMFONY_DOTENV_VARS
"GIT_COMMIT_HASH,GIT_COMMIT_SHORT_HASH,GIT_COMMIT_TAG,GIT_BRANCH_CLEANED,GIT_REF_TAG"
TELEGRAM_BOT_TOKEN
"7738589904:AAERgCq2ifu5lYJ1_Or16KMe6ZNjgBCJB_M"
TELEGRAM_CHAT_ID
"-1002370744688"
USER
"www-data"
argc
0
argv
[]