NewPatientController :: newPatient
Request
GET Parameters
| Key | Value |
|---|---|
| phone | "0724537335" |
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Mobile\NewPatientController::newPatient" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "newPatient" |
| _route_params | [] |
| _security_firewall_run | "_security_main" |
| _stopwatch_token | "8df7e1" |
Request Headers
| Header | Value |
|---|---|
| accept-encoding | "gzip" |
| authorization | "" |
| connection | "Keep-Alive" |
| content-length | "189" |
| content-type | "application/json; charset=UTF-8" |
| host | "payments.neemaopticians.co.ke" |
| user-agent | "okhttp/3.10.0" |
| x-php-ob-level | "1" |
Request Content
Raw
{"branch":13,"card_number":0,"created_at":"Thu Dec 04 10:52:31 GMT+03:00 2025","patient_id":413,"location":"kutus","patient_name":"Tabitatha wangechi","phone":"0705477408","reason":"check"}
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "application/json" |
| date | "Sat, 06 Dec 2025 04:40:43 GMT" |
| x-debug-token | "f894b6" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session 1
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
1
Usages
Stateless check enabled
| Usage |
|---|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-core\Authentication\Token\Storage\UsageTrackingTokenStorage.php"
"line" => 44
"function" => "getMetadataBag"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-http\Firewall\AccessListener.php"
"line" => 87
"function" => "getToken"
"class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-bundle\Debug\WrappedLazyListener.php"
"line" => 49
"function" => "authenticate"
"class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-http\Firewall\AbstractListener.php"
"line" => 26
"function" => "authenticate"
"class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-bundle\Security\LazyFirewallContext.php"
"line" => 60
"function" => "__invoke"
"class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-bundle\Debug\TraceableFirewallListener.php"
"line" => 77
"function" => "__invoke"
"class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-http\Firewall.php"
"line" => 92
"function" => "callListeners"
"class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\event-dispatcher\Debug\WrappedListener.php"
"line" => 118
"function" => "onKernelRequest"
"class" => "Symfony\Component\Security\Http\Firewall"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\event-dispatcher\EventDispatcher.php"
"line" => 230
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\event-dispatcher\EventDispatcher.php"
"line" => 59
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php"
"line" => 154
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\http-kernel\HttpKernel.php"
"line" => 139
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\http-kernel\HttpKernel.php"
"line" => 75
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\http-kernel\Kernel.php"
"line" => 202
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\autoload_runtime.php"
"line" => 35
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\public\index.php"
"line" => 5
"args" => [
"C:\wamp64\www\neema\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 | "1b4351be6eecbf621dec6255f165c78d" |
| DATABASE_URL | "sqlsrv://samuel:neema2022@161.97.145.29/NeemaLimited_dbase?port=1433" |
| MSSQL_CHARSET | "UTF8" |
| MSSQL_DATABASE | "NeemaLimited_dbase" |
| MSSQL_HOST | "localhost" |
| MSSQL_PASSWORD | "neema2022" |
| MSSQL_PORT | "1433" |
| MSSQL_USER | "samuel" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| COMSPEC | "C:\Windows\system32\cmd.exe" |
| CONTENT_LENGTH | "189" |
| CONTENT_TYPE | "application/json; charset=UTF-8" |
| CONTEXT_DOCUMENT_ROOT | "C:/wamp64/www/neema/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "C:/wamp64/www/neema/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT_ENCODING | "gzip" |
| HTTP_AUTHORIZATION | "" |
| HTTP_CONNECTION | "Keep-Alive" |
| HTTP_HOST | "payments.neemaopticians.co.ke" |
| HTTP_USER_AGENT | "okhttp/3.10.0" |
| PATH | "C:\Python312\Scripts\;C:\Python312\;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files\Azure Data Studio\bin;C:\Program Files\Certbot\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\WireGuard\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps" |
| PATHEXT | ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "phone=0724537335" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_HTTP_AUTHORIZATION | "" |
| REDIRECT_QUERY_STRING | "phone=0724537335" |
| REDIRECT_SCRIPT_URI | "https://payments.neemaopticians.co.ke/api/patients" |
| REDIRECT_SCRIPT_URL | "/api/patients" |
| REDIRECT_SSL_TLS_SNI | "payments.neemaopticians.co.ke" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/api/patients" |
| REMOTE_ADDR | "102.210.14.52" |
| REMOTE_PORT | "54530" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1764996043 |
| REQUEST_TIME_FLOAT | 1764996043.2754 |
| REQUEST_URI | "/api/patients?phone=0724537335" |
| SCRIPT_FILENAME | "C:/wamp64/www/neema/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://payments.neemaopticians.co.ke/api/patients" |
| SCRIPT_URL | "/api/patients" |
| SERVER_ADDR | "161.97.145.29" |
| SERVER_ADMIN | "wampserver@wampserver.invalid" |
| SERVER_NAME | "payments.neemaopticians.co.ke" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.54 (Win64) OpenSSL/1.1.1s PHP/8.1.13 mod_fcgid/2.3.10-dev Server at payments.neemaopticians.co.ke Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.54 (Win64) OpenSSL/1.1.1s PHP/8.1.13 mod_fcgid/2.3.10-dev" |
| SSL_TLS_SNI | "payments.neemaopticians.co.ke" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,MSSQL_HOST,MSSQL_PORT,MSSQL_DATABASE,MSSQL_USER,MSSQL_PASSWORD,MSSQL_CHARSET,DATABASE_URL" |
| SystemRoot | "C:\Windows" |
| WINDIR | "C:\Windows" |