{"__meta":{"id":"01KSN9ZBWRCA56F5QR9ZJ84FET","datetime":"2026-05-27 18:08:30","utime":1779905310.620484,"method":"POST","uri":"\/api\/v1\/auth\/login","ip":"172.18.0.1"},"messages":{"count":0,"messages":[]},"time":{"count":5,"start":1779905299.141808,"end":1779905310.620524,"duration":11.478715896606445,"duration_str":"11.48s","measures":[{"label":"Booting","start":1779905299.141808,"relative_start":0,"end":1779905303.299779,"relative_end":1779905303.299779,"duration":4.157970905303955,"duration_str":"4.16s","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1779905303.299816,"relative_start":4.158007860183716,"end":1779905310.620529,"relative_end":5.0067901611328125e-6,"duration":7.320713043212891,"duration_str":"7.32s","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1779905303.872059,"relative_start":4.73025107383728,"end":1779905303.937769,"relative_end":1779905303.937769,"duration":0.06570982933044434,"duration_str":"65.71ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1779905310.594693,"relative_start":11.452884912490845,"end":1779905310.601992,"relative_end":1779905310.601992,"duration":0.007298946380615234,"duration_str":"7.3ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1779905310.611229,"relative_start":11.469420909881592,"end":1779905310.611302,"relative_end":1779905310.611302,"duration":7.295608520507812e-5,"duration_str":"73\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":3492360,"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.10633999999999999,"accumulated_duration_str":"106ms","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":1779905305.557834,"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":1779905305.8393362,"duration":0.05773,"duration_str":"57.73ms","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":54.288},{"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":1779905306.767121,"duration":0.0060999999999999995,"duration_str":"6.1ms","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":54.288,"width_percent":5.736},{"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)', '1afaf023228b83b556552a2da6927a20e0d4ee4d0073b5e9363adce29cd04d3a', '[\"*\"]', '2026-05-27 18:23:27', '01ksmjys53dhdmgzrm11bzaxhq', 'App\\Domain\\Auth\\Models\\User', '2026-05-27 18:08:27', '2026-05-27 18:08:27') returning \"id\"","type":"query","params":[],"bindings":["CompleCare (iOS 26.5 \u00b7 iPhone)","1afaf023228b83b556552a2da6927a20e0d4ee4d0073b5e9363adce29cd04d3a","[\"*\"]","2026-05-27 18:23:27","01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User","2026-05-27 18:08:27","2026-05-27 18:08:27"],"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":1779905307.211796,"duration":0.007549999999999999,"duration_str":"7.55ms","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":60.024,"width_percent":7.1},{"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)', '070d838891dbb10a2e57b6ef92b8b3e241566e158e8eaae40200731535fb9d77', '[\"auth:refresh\"]', '2026-06-26 18:08:27', '01ksmjys53dhdmgzrm11bzaxhq', 'App\\Domain\\Auth\\Models\\User', '2026-05-27 18:08:27', '2026-05-27 18:08:27') returning \"id\"","type":"query","params":[],"bindings":["CompleCare (iOS 26.5 \u00b7 iPhone) (refresh)","070d838891dbb10a2e57b6ef92b8b3e241566e158e8eaae40200731535fb9d77","[\"auth:refresh\"]","2026-06-26 18:08:27","01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User","2026-05-27 18:08:27","2026-05-27 18:08:27"],"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":1779905307.560905,"duration":0.0043,"duration_str":"4.3ms","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":67.124,"width_percent":4.044},{"sql":"update \"personal_access_tokens\" set \"token_type\" = 'access', \"updated_at\" = '2026-05-27 18:08:27' where \"id\" = 33","type":"query","params":[],"bindings":["access","2026-05-27 18:08:27",33],"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":1779905307.716042,"duration":0.00405,"duration_str":"4.05ms","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":71.168,"width_percent":3.809},{"sql":"update \"personal_access_tokens\" set \"token_type\" = 'refresh', \"updated_at\" = '2026-05-27 18:08:27' where \"id\" = 34","type":"query","params":[],"bindings":["refresh","2026-05-27 18:08:27",34],"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":1779905307.814789,"duration":0.0030800000000000003,"duration_str":"3.08ms","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":74.976,"width_percent":2.896},{"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":1779905308.292692,"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.873,"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":1779905308.314044,"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.873,"width_percent":6.404},{"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)\"}', '1878a7e52b22615575b4f74448dc311c64b577a124925ac90eb4d94520e0862c', '2026-05-27 18:08:28', '2026-05-27 18:08:28', '92d5d811d0e478e74ab724198c6aa533147a01c04f9926f40caa2c6e14c079dc', '01ksn9z9sara3pdrb94k2k4rjm')","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)\"}","1878a7e52b22615575b4f74448dc311c64b577a124925ac90eb4d94520e0862c","2026-05-27 18:08:28","2026-05-27 18:08:28","92d5d811d0e478e74ab724198c6aa533147a01c04f9926f40caa2c6e14c079dc","01ksn9z9sara3pdrb94k2k4rjm"],"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":1779905308.460608,"duration":0.00279,"duration_str":"2.79ms","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.277,"width_percent":2.624},{"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":1779905308.78139,"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.901,"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":1779905309.076201,"duration":0.0043,"duration_str":"4.3ms","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.901,"width_percent":4.044},{"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":1779905309.1781569,"duration":0.0055,"duration_str":"5.5ms","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":90.944,"width_percent":5.172},{"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":1779905310.290394,"duration":0.00413,"duration_str":"4.13ms","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.116,"width_percent":3.884}]},"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\/a1e1a660-cb38-4c0e-b111-84dcceb71caa\" target=\"_blank\">View in Telescope<\/a>","duration":"11.56s","peak_memory":"4MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-148804117 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-148804117\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-1707752597 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-1707752597\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-456359507 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-456359507\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1207090299 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1207090299\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-726956616 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:08:30 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-726956616\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-722481420 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-722481420\", {\"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}}