{"__meta":{"id":"01KSNC5E5G02WQWPE7JNQ2QCQM","datetime":"2026-05-27 18:46:46","utime":1779907606.70704,"method":"POST","uri":"\/api\/v1\/auth\/login","ip":"172.18.0.1"},"messages":{"count":0,"messages":[]},"time":{"count":5,"start":1779907595.207418,"end":1779907606.707076,"duration":11.499658107757568,"duration_str":"11.5s","measures":[{"label":"Booting","start":1779907595.207418,"relative_start":0,"end":1779907600.351128,"relative_end":1779907600.351128,"duration":5.143710136413574,"duration_str":"5.14s","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1779907600.35118,"relative_start":5.143762111663818,"end":1779907606.70708,"relative_end":3.814697265625e-6,"duration":6.355899810791016,"duration_str":"6.36s","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1779907600.760396,"relative_start":5.552978038787842,"end":1779907600.809675,"relative_end":1779907600.809675,"duration":0.049278974533081055,"duration_str":"49.28ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1779907606.687107,"relative_start":11.479689121246338,"end":1779907606.69353,"relative_end":1779907606.69353,"duration":0.006422996520996094,"duration_str":"6.42ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1779907606.69865,"relative_start":11.491231918334961,"end":1779907606.698719,"relative_end":1779907606.698719,"duration":6.914138793945312e-5,"duration_str":"69\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":3492424,"peak_usage_str":"3MB"},"exceptions":{"count":0,"exceptions":[]},"laravel":{"version":"12.x","tooltip":{"Laravel Version":"12.60.2","PHP Version":"8.5.6","Environment":"local","Debug Mode":"Enabled","URL":"localhost:80","Timezone":"Africa\/Accra","Locale":"en"}},"views":{"count":0,"nb_templates":0,"templates":[]},"queries":{"count":14,"nb_statements":11,"nb_visible_statements":14,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.09855999999999995,"accumulated_duration_str":"98.56ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"Connection Established","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":59},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211}],"start":1779907602.011674,"duration":0,"duration_str":"","slow":false,"memory":0,"memory_str":null,"filename":"AuthController.php:59","source":{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":59},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FHttp%2FControllers%2FApi%2FV1%2FAuthController.php&line=59","ajax":false,"filename":"AuthController.php","line":"59"},"connection":"complecare","explain":null,"start_percent":0,"width_percent":0},{"sql":"select * from \"users\" where \"phone\" = '+233244000002' and \"users\".\"deleted_at\" is null limit 1","type":"query","params":[],"bindings":["+233244000002"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":62},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211}],"start":1779907602.235992,"duration":0.049409999999999996,"duration_str":"49.41ms","slow":false,"memory":0,"memory_str":null,"filename":"AuthController.php:62","source":{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":62},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FHttp%2FControllers%2FApi%2FV1%2FAuthController.php&line=62","ajax":false,"filename":"AuthController.php","line":"62"},"connection":"complecare","explain":null,"start_percent":0,"width_percent":50.132},{"sql":"select \"roles\".*, \"model_has_roles\".\"model_id\" as \"pivot_model_id\", \"model_has_roles\".\"role_id\" as \"pivot_role_id\", \"model_has_roles\".\"model_type\" as \"pivot_model_type\", \"model_has_roles\".\"tenant_id\" as \"pivot_tenant_id\" from \"roles\" inner join \"model_has_roles\" on \"roles\".\"id\" = \"model_has_roles\".\"role_id\" where \"model_has_roles\".\"tenant_id\" is null and (\"roles\".\"tenant_id\" is null or \"roles\".\"tenant_id\" is null) and \"model_has_roles\".\"model_id\" in ('01ksmjys53dhdmgzrm11bzaxhq') and \"model_has_roles\".\"model_type\" = 'App\\Domain\\Auth\\Models\\User'","type":"query","params":[],"bindings":["01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/var\/www\/html\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":403},{"index":23,"namespace":null,"name":"app\/Domain\/Auth\/Models\/User.php","file":"\/var\/www\/html\/app\/Domain\/Auth\/Models\/User.php","line":114},{"index":24,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":85},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43}],"start":1779907603.095021,"duration":0.00497,"duration_str":"4.97ms","slow":false,"memory":0,"memory_str":null,"filename":"HasRoles.php:403","source":{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/var\/www\/html\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasRoles.php&line=403","ajax":false,"filename":"HasRoles.php","line":"403"},"connection":"complecare","explain":null,"start_percent":50.132,"width_percent":5.043},{"sql":"insert into \"personal_access_tokens\" (\"name\", \"token\", \"abilities\", \"expires_at\", \"tokenable_id\", \"tokenable_type\", \"updated_at\", \"created_at\") values ('CompleCare (iOS 26.5 \u00b7 iPhone)', '17e243008c5caab9b5865bd2c38ff8baf30b8b0b542ac6c9880a886f870217a1', '[\"*\"]', '2026-05-27 19:01:43', '01ksmjys53dhdmgzrm11bzaxhq', 'App\\Domain\\Auth\\Models\\User', '2026-05-27 18:46:43', '2026-05-27 18:46:43') returning \"id\"","type":"query","params":[],"bindings":["CompleCare (iOS 26.5 \u00b7 iPhone)","17e243008c5caab9b5865bd2c38ff8baf30b8b0b542ac6c9880a886f870217a1","[\"*\"]","2026-05-27 19:01:43","01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User","2026-05-27 18:46:43","2026-05-27 18:46:43"],"hints":null,"show_copy":true,"backtrace":[{"index":19,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/HasApiTokens.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/HasApiTokens.php","line":64},{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":93},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265}],"start":1779907603.498606,"duration":0.00828,"duration_str":"8.28ms","slow":false,"memory":0,"memory_str":null,"filename":"HasApiTokens.php:64","source":{"index":19,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/HasApiTokens.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/HasApiTokens.php","line":64},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FHasApiTokens.php&line=64","ajax":false,"filename":"HasApiTokens.php","line":"64"},"connection":"complecare","explain":null,"start_percent":55.175,"width_percent":8.401},{"sql":"insert into \"personal_access_tokens\" (\"name\", \"token\", \"abilities\", \"expires_at\", \"tokenable_id\", \"tokenable_type\", \"updated_at\", \"created_at\") values ('CompleCare (iOS 26.5 \u00b7 iPhone) (refresh)', '87eb8e7e0f9ab7832d45f778655e44858ad915b47d38bfb208089f6cf2ffcb99', '[\"auth:refresh\"]', '2026-06-26 18:46:43', '01ksmjys53dhdmgzrm11bzaxhq', 'App\\Domain\\Auth\\Models\\User', '2026-05-27 18:46:43', '2026-05-27 18:46:43') returning \"id\"","type":"query","params":[],"bindings":["CompleCare (iOS 26.5 \u00b7 iPhone) (refresh)","87eb8e7e0f9ab7832d45f778655e44858ad915b47d38bfb208089f6cf2ffcb99","[\"auth:refresh\"]","2026-06-26 18:46:43","01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User","2026-05-27 18:46:43","2026-05-27 18:46:43"],"hints":null,"show_copy":true,"backtrace":[{"index":19,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/HasApiTokens.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/HasApiTokens.php","line":64},{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":98},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265}],"start":1779907603.672677,"duration":0.00431,"duration_str":"4.31ms","slow":false,"memory":0,"memory_str":null,"filename":"HasApiTokens.php:64","source":{"index":19,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/HasApiTokens.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/HasApiTokens.php","line":64},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FHasApiTokens.php&line=64","ajax":false,"filename":"HasApiTokens.php","line":"64"},"connection":"complecare","explain":null,"start_percent":63.575,"width_percent":4.373},{"sql":"update \"personal_access_tokens\" set \"token_type\" = 'access', \"updated_at\" = '2026-05-27 18:46:43' where \"id\" = 39","type":"query","params":[],"bindings":["access","2026-05-27 18:46:43",39],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":104},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211}],"start":1779907603.791423,"duration":0.00474,"duration_str":"4.74ms","slow":false,"memory":0,"memory_str":null,"filename":"AuthController.php:104","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FHttp%2FControllers%2FApi%2FV1%2FAuthController.php&line=104","ajax":false,"filename":"AuthController.php","line":"104"},"connection":"complecare","explain":null,"start_percent":67.948,"width_percent":4.809},{"sql":"update \"personal_access_tokens\" set \"token_type\" = 'refresh', \"updated_at\" = '2026-05-27 18:46:44' where \"id\" = 40","type":"query","params":[],"bindings":["refresh","2026-05-27 18:46:44",40],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":105},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211}],"start":1779907604.020378,"duration":0.00449,"duration_str":"4.49ms","slow":false,"memory":0,"memory_str":null,"filename":"AuthController.php:105","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":105},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FHttp%2FControllers%2FApi%2FV1%2FAuthController.php&line=105","ajax":false,"filename":"AuthController.php","line":"105"},"connection":"complecare","explain":null,"start_percent":72.758,"width_percent":4.556},{"sql":"Begin Transaction","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":10,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},{"index":11,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":109},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265}],"start":1779907604.649305,"duration":0,"duration_str":"","slow":false,"memory":0,"memory_str":null,"filename":"AuditLogger.php:47","source":{"index":10,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAudit%2FServices%2FAuditLogger.php&line=47","ajax":false,"filename":"AuditLogger.php","line":"47"},"connection":"complecare","explain":null,"start_percent":77.313,"width_percent":0},{"sql":"select * from \"audit_log\" order by \"occurred_at\" desc limit 1 for update","type":"query","params":[],"bindings":[],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":51},{"index":20,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":109},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43}],"start":1779907604.66546,"duration":0.006809999999999999,"duration_str":"6.81ms","slow":false,"memory":0,"memory_str":null,"filename":"AuditLogger.php:51","source":{"index":16,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":51},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAudit%2FServices%2FAuditLogger.php&line=51","ajax":false,"filename":"AuditLogger.php","line":"51"},"connection":"complecare","explain":null,"start_percent":77.313,"width_percent":6.909},{"sql":"insert into \"audit_log\" (\"actor_user_id\", \"actor_role\", \"actor_tenant_id\", \"actor_ip\", \"actor_user_agent\", \"event_type\", \"event_category\", \"severity\", \"subject_type\", \"subject_id\", \"subject_tenant_id\", \"context\", \"prev_chain_hash\", \"occurred_at\", \"created_at\", \"chain_hash\", \"id\") values (null, null, null, '172.18.0.1', 'Expo\/1017756 CFNetwork\/3860.600.12 Darwin\/25.5.0', 'auth.login.success', 'auth', 'info', 'App\\Domain\\Auth\\Models\\User', '01ksmjys53dhdmgzrm11bzaxhq', null, '{\"device_name\":\"CompleCare (iOS 26.5 \\u00b7 iPhone)\"}', '14854e45f19ec0c0f60d1740e6edcd0cd7ae32c34face351275968ad74f42d5b', '2026-05-27 18:46:44', '2026-05-27 18:46:44', 'cda0d1f5442f2f67cd1ec43b208ecfe08f50621d8232877ded22bf75aba394d9', '01ksnc5c9xwh7waaty1btzzthp')","type":"query","params":[],"bindings":[null,null,null,"172.18.0.1","Expo\/1017756 CFNetwork\/3860.600.12 Darwin\/25.5.0","auth.login.success","auth","info","App\\Domain\\Auth\\Models\\User","01ksmjys53dhdmgzrm11bzaxhq",null,"{\"device_name\":\"CompleCare (iOS 26.5 \\u00b7 iPhone)\"}","14854e45f19ec0c0f60d1740e6edcd0cd7ae32c34face351275968ad74f42d5b","2026-05-27 18:46:44","2026-05-27 18:46:44","cda0d1f5442f2f67cd1ec43b208ecfe08f50621d8232877ded22bf75aba394d9","01ksnc5c9xwh7waaty1btzzthp"],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":73},{"index":24,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},{"index":25,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":109},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":27,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43}],"start":1779907604.79937,"duration":0.00266,"duration_str":"2.66ms","slow":false,"memory":0,"memory_str":null,"filename":"AuditLogger.php:73","source":{"index":20,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":73},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAudit%2FServices%2FAuditLogger.php&line=73","ajax":false,"filename":"AuditLogger.php","line":"73"},"connection":"complecare","explain":null,"start_percent":84.223,"width_percent":2.699},{"sql":"Commit Transaction","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":9,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},{"index":10,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":109},{"index":11,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265}],"start":1779907605.090635,"duration":0,"duration_str":"","slow":false,"memory":0,"memory_str":null,"filename":"AuditLogger.php:47","source":{"index":9,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAudit%2FServices%2FAuditLogger.php&line=47","ajax":false,"filename":"AuditLogger.php","line":"47"},"connection":"complecare","explain":null,"start_percent":86.922,"width_percent":0},{"sql":"select * from \"tenants\" where \"tenants\".\"id\" in ('01ksmjyrkvhqkr8rhxsd2jrhrg') and \"tenants\".\"deleted_at\" is null","type":"query","params":[],"bindings":["01ksmjyrkvhqkr8rhxsd2jrhrg"],"hints":null,"show_copy":true,"backtrace":[{"index":23,"namespace":null,"name":"app\/Domain\/Auth\/Data\/UserData.php","file":"\/var\/www\/html\/app\/Domain\/Auth\/Data\/UserData.php","line":57},{"index":24,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":123},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":27,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265}],"start":1779907605.326783,"duration":0.00441,"duration_str":"4.41ms","slow":false,"memory":0,"memory_str":null,"filename":"UserData.php:57","source":{"index":23,"namespace":null,"name":"app\/Domain\/Auth\/Data\/UserData.php","file":"\/var\/www\/html\/app\/Domain\/Auth\/Data\/UserData.php","line":57},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAuth%2FData%2FUserData.php&line=57","ajax":false,"filename":"UserData.php","line":"57"},"connection":"complecare","explain":null,"start_percent":86.922,"width_percent":4.474},{"sql":"select \"tenants\".*, \"tenant_user\".\"user_id\" as \"pivot_user_id\", \"tenant_user\".\"tenant_id\" as \"pivot_tenant_id\", \"tenant_user\".\"is_primary\" as \"pivot_is_primary\", \"tenant_user\".\"status\" as \"pivot_status\", \"tenant_user\".\"joined_at\" as \"pivot_joined_at\", \"tenant_user\".\"left_at\" as \"pivot_left_at\", \"tenant_user\".\"metadata\" as \"pivot_metadata\", \"tenant_user\".\"created_at\" as \"pivot_created_at\", \"tenant_user\".\"updated_at\" as \"pivot_updated_at\" from \"tenants\" inner join \"tenant_user\" on \"tenants\".\"id\" = \"tenant_user\".\"tenant_id\" where \"tenant_user\".\"user_id\" in ('01ksmjys53dhdmgzrm11bzaxhq') and \"tenants\".\"deleted_at\" is null","type":"query","params":[],"bindings":["01ksmjys53dhdmgzrm11bzaxhq"],"hints":null,"show_copy":true,"backtrace":[{"index":22,"namespace":null,"name":"app\/Domain\/Auth\/Data\/UserData.php","file":"\/var\/www\/html\/app\/Domain\/Auth\/Data\/UserData.php","line":57},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":123},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265}],"start":1779907605.449816,"duration":0.00517,"duration_str":"5.17ms","slow":false,"memory":0,"memory_str":null,"filename":"UserData.php:57","source":{"index":22,"namespace":null,"name":"app\/Domain\/Auth\/Data\/UserData.php","file":"\/var\/www\/html\/app\/Domain\/Auth\/Data\/UserData.php","line":57},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAuth%2FData%2FUserData.php&line=57","ajax":false,"filename":"UserData.php","line":"57"},"connection":"complecare","explain":null,"start_percent":91.396,"width_percent":5.246},{"sql":"select \"permissions\".*, \"model_has_permissions\".\"model_id\" as \"pivot_model_id\", \"model_has_permissions\".\"permission_id\" as \"pivot_permission_id\", \"model_has_permissions\".\"model_type\" as \"pivot_model_type\", \"model_has_permissions\".\"tenant_id\" as \"pivot_tenant_id\" from \"permissions\" inner join \"model_has_permissions\" on \"permissions\".\"id\" = \"model_has_permissions\".\"permission_id\" where \"model_has_permissions\".\"model_id\" = '01ksmjys53dhdmgzrm11bzaxhq' and \"model_has_permissions\".\"model_type\" = 'App\\Domain\\Auth\\Models\\User' and \"model_has_permissions\".\"tenant_id\" is null","type":"query","params":[],"bindings":["01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/html\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":352},{"index":21,"namespace":null,"name":"app\/Domain\/Auth\/Data\/UserData.php","file":"\/var\/www\/html\/app\/Domain\/Auth\/Data\/UserData.php","line":75},{"index":22,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":123},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43}],"start":1779907606.477974,"duration":0.00331,"duration_str":"3.31ms","slow":false,"memory":0,"memory_str":null,"filename":"HasPermissions.php:352","source":{"index":20,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/html\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":352},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasPermissions.php&line=352","ajax":false,"filename":"HasPermissions.php","line":"352"},"connection":"complecare","explain":null,"start_percent":96.642,"width_percent":3.358}]},"models":{"data":{"App\\Domain\\Auth\\Models\\PersonalAccessToken":{"created":2,"updated":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAuth%2FModels%2FPersonalAccessToken.php&line=1","ajax":false,"filename":"PersonalAccessToken.php","line":"?"}},"App\\Domain\\Audit\\Models\\AuditLog":{"retrieved":1,"created":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAudit%2FModels%2FAuditLog.php&line=1","ajax":false,"filename":"AuditLog.php","line":"?"}},"App\\Domain\\Tenant\\Models\\Tenant":{"retrieved":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FTenant%2FModels%2FTenant.php&line=1","ajax":false,"filename":"Tenant.php","line":"?"}},"App\\Domain\\Auth\\Models\\User":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAuth%2FModels%2FUser.php&line=1","ajax":false,"filename":"User.php","line":"?"}}},"count":9,"key_map":{"retrieved":"Retrieved","created":"Created","updated":"Updated","deleted":"Deleted"},"is_counter":true,"badges":{"retrieved":4,"created":3,"updated":2}},"livewire":{"data":[],"count":0},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"request":{"data":{"status":"200 OK","full_url":"http:\/\/172.20.10.2\/api\/v1\/auth\/login","action_name":"auth.login","controller_action":"App\\Http\\Controllers\\Api\\V1\\AuthController@login","uri":"POST api\/v1\/auth\/login","controller":{"value":"App\\Http\\Controllers\\Api\\V1\\AuthController@login","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FHttp%2FControllers%2FApi%2FV1%2FAuthController.php&line=38","ajax":false,"filename":"AuthController.php","line":"38"}},"prefix":"api\/v1\/auth","file":{"value":"app\/Http\/Controllers\/Api\/V1\/AuthController.php:38-125","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FHttp%2FControllers%2FApi%2FV1%2FAuthController.php&line=38","ajax":false,"filename":"AuthController.php","line":"38"}},"middleware":"api","telescope":"<a href=\"http:\/\/172.20.10.2\/_debugbar\/telescope\/a1e1b410-5695-4128-827f-680c5761b6d5\" target=\"_blank\">View in Telescope<\/a>","duration":"11.59s","peak_memory":"4MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-253362367 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-253362367\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-84382394 data-indent-pad=\"  \"><span class=sf-dump-note>array:3<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>phone<\/span>\" => \"<span class=sf-dump-str title=\"13 characters\">+233244000002<\/span>\"\n  \"<span class=sf-dump-key>password<\/span>\" => \"<span class=sf-dump-str title=\"6 characters\">******<\/span>\"\n  \"<span class=sf-dump-key>device_name<\/span>\" => \"<span class=sf-dump-str title=\"30 characters\">CompleCare (iOS 26.5 &#183; iPhone)<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-84382394\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1487244466 data-indent-pad=\"  \"><span class=sf-dump-note>array:8<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>host<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"11 characters\">172.20.10.2<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>connection<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"10 characters\">keep-alive<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>user-agent<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"48 characters\">Expo\/1017756 CFNetwork\/3860.600.12 Darwin\/25.5.0<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-length<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">104<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept-language<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"14 characters\">en-GB,en;q=0.9<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept-encoding<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"13 characters\">gzip, deflate<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1487244466\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1534138622 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1534138622\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-252502193 data-indent-pad=\"  \"><span class=sf-dump-note>array:5<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>cache-control<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"17 characters\">no-cache, private<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>date<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"29 characters\">Wed, 27 May 2026 18:46:46 GMT<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-ratelimit-limit<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">120<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-ratelimit-remaining<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">119<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-252502193\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-1278377203 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1278377203\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"http:\/\/172.20.10.2\/api\/v1\/auth\/login","action_name":"auth.login","controller_action":"App\\Http\\Controllers\\Api\\V1\\AuthController@login"},"badge":null}}