IndexController :: index
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\IndexController::index" |
| _firewall_context | "security.firewall.map.context.main" |
| _redirected | true |
| _route | "app_index" |
| _route_params | [] |
| _security_firewall_run | "_security_main" |
| _stopwatch_token | "a22213" |
Request Headers
| Header | Value |
|---|---|
| accept | "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" |
| accept-encoding | "gzip, deflate, br, zstd" |
| accept-language | "fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3" |
| connection | "keep-alive" |
| cookie | "PHPSESSID=blvnhctbehf6kpk33f80j2bpna; sf_redirect=%7B%22token%22%3A%22939c5d%22%2C%22route%22%3A%22add_params%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CIndexController%22%2C%22method%22%3A%22add_params%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Febook_api%5C%2Fsrc%5C%2FController%5C%2FIndexController.php%22%2C%22line%22%3A104%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| host | "book.api.7ap.tech" |
| priority | "u=0, i" |
| referer | "https://book.api.7ap.tech/add_params/6" |
| sec-fetch-dest | "document" |
| sec-fetch-mode | "navigate" |
| sec-fetch-site | "same-origin" |
| sec-fetch-user | "?1" |
| upgrade-insecure-requests | "1" |
| user-agent | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0" |
| x-php-ob-level | "1" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "text/html; charset=UTF-8" |
| date | "Sun, 18 Jan 2026 11:05:33 GMT" |
| x-debug-token | "3cb513" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "blvnhctbehf6kpk33f80j2bpna" |
| sf_redirect | "{"token":"939c5d","route":"add_params","method":"POST","controller":{"class":"App\\Controller\\IndexController","method":"add_params","file":"\/var\/www\/ebook_api\/src\/Controller\/IndexController.php","line":104},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sun, 18 Jan 26 10:49:32 +0000" |
| Last used | "Sun, 18 Jan 26 11:05:32 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| _csrf/https-form | "8LRiFlxjOfIQFmksYFt5qATu_5FdJdd6IfHexRN2Jf8" |
| _security.last_username | "eaismail.02@gmail.com" |
| _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:15:"App\Entity\User":16:{s:19:"\x00App\Entity\User\x00id";i:1;s:22:"\x00App\Entity\User\x00email";s:21:"eaismail.02@gmail.com";s:22:"\x00App\Entity\User\x00roles";a:1:{i:0;s:10:"ROLE_ADMIN";}s:25:"\x00App\Entity\User\x00password";s:60:"$2y$13$6MonssIQh4maOske6hZp4eDxn9HTuMSpfn3llKvnDlZIFTA/k7T5S";s:26:"\x00App\Entity\User\x00firstname";s:6:"Ismail";s:25:"\x00App\Entity\User\x00lastname";s:6:"AMRANI";s:22:"\x00App\Entity\User\x00token";s:120:"Saes50GUeyczh3NqDYJ4vYlfIxIojuM0ErXHhljTORGUJlVG7JnvpfVro3ToTWp0rRhf92xvlbCfQmBbJELTNA5cXmFeyvKIq4Y56t6g4slsnjVlNsK2LQZ0";s:35:"\x00App\Entity\User\x00available_requests";N;s:25:"\x00App\Entity\User\x00is_actif";b:1;s:32:"\x00App\Entity\User\x00code_activation";N;s:26:"\x00App\Entity\User\x00device_id";N;s:34:"\x00App\Entity\User\x00last_resend_verif";N;s:36:"\x00App\Entity\User\x00number_resend_verif";N;s:19:"\x00App\Entity\User\x00ip";N;s:23:"\x00App\Entity\User\x00secret";N;s:23:"\x00App\Entity\User\x00ebooks";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;}}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";}}}" |
Session Usage
2
Usages
Stateless check enabled
| Usage |
|---|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[
[
"file" => "/var/www/ebook_api/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
"line" => 41
"function" => "getMetadataBag"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/security-http/Firewall/AccessListener.php"
"line" => 78
"function" => "getToken"
"class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
"line" => 46
"function" => "authenticate"
"class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
"line" => 60
"function" => "authenticate"
"class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
"line" => 70
"function" => "__invoke"
"class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/security-http/Firewall.php"
"line" => 92
"function" => "callListeners"
"class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 116
"function" => "onKernelRequest"
"class" => "Symfony\Component\Security\Http\Firewall"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 206
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 127
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 139
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 74
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/http-kernel/Kernel.php"
"line" => 184
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/public/index.php"
"line" => 5
"args" => [
"/var/www/ebook_api/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Symfony\Component\Security\Http\Firewall\ContextListener:174
[
[
"file" => "/var/www/ebook_api/vendor/symfony/security-http/Firewall/ContextListener.php"
"line" => 174
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 116
"function" => "onKernelResponse"
"class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 206
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 127
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 196
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 184
"function" => "filterResponse"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 74
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/http-kernel/Kernel.php"
"line" => 184
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/ebook_api/public/index.php"
"line" => 5
"args" => [
"/var/www/ebook_api/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 | "702f5badec0a9454fef2d59ea1e5dd01" |
| CORS_ALLOW_ORIGIN | "^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$" |
| DATABASE_URL | "mysql://root:Amrani@@@021891@127.0.0.1:3306/ebook_api?serverVersion=8.0.42-0ubuntu0.24.04.1&charset=utf8mb4" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
| encrypt_iv | "@@@IDNNHGDEOL939012844" |
| encrypt_secret | "@@@IDNNHGDEOL939012844" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTEXT_DOCUMENT_ROOT | "/var/www/ebook_api/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/var/www/ebook_api/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT | "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" |
| HTTP_ACCEPT_ENCODING | "gzip, deflate, br, zstd" |
| HTTP_ACCEPT_LANGUAGE | "fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3" |
| HTTP_CONNECTION | "keep-alive" |
| HTTP_COOKIE | "PHPSESSID=blvnhctbehf6kpk33f80j2bpna; sf_redirect=%7B%22token%22%3A%22939c5d%22%2C%22route%22%3A%22add_params%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CIndexController%22%2C%22method%22%3A%22add_params%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Febook_api%5C%2Fsrc%5C%2FController%5C%2FIndexController.php%22%2C%22line%22%3A104%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| HTTP_HOST | "book.api.7ap.tech" |
| HTTP_PRIORITY | "u=0, i" |
| HTTP_REFERER | "https://book.api.7ap.tech/add_params/6" |
| HTTP_SEC_FETCH_DEST | "document" |
| HTTP_SEC_FETCH_MODE | "navigate" |
| HTTP_SEC_FETCH_SITE | "same-origin" |
| HTTP_SEC_FETCH_USER | "?1" |
| HTTP_UPGRADE_INSECURE_REQUESTS | "1" |
| HTTP_USER_AGENT | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REMOTE_ADDR | "160.179.228.50" |
| REMOTE_PORT | "57052" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1768734332 |
| REQUEST_TIME_FLOAT | 1768734332.9667 |
| REQUEST_URI | "/" |
| SCRIPT_FILENAME | "/var/www/ebook_api/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "95.179.186.228" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "book.api.7ap.tech" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.58 (Ubuntu) Server at book.api.7ap.tech Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.58 (Ubuntu)" |
| SSL_TLS_SNI | "book.api.7ap.tech" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,CORS_ALLOW_ORIGIN,encrypt_secret,encrypt_iv" |