{"__meta":{"id":"01KSN8DEDTSJ4TKG7SK96JCXBB","datetime":"2026-05-27 17:41:14","utime":1779903674.816044,"method":"POST","uri":"\/api\/v1\/auth\/login","ip":"172.18.0.1"},"messages":{"count":0,"messages":[]},"time":{"count":5,"start":1779903665.14866,"end":1779903674.816083,"duration":9.667423009872437,"duration_str":"9.67s","measures":[{"label":"Booting","start":1779903665.14866,"relative_start":0,"end":1779903668.465282,"relative_end":1779903668.465282,"duration":3.316622018814087,"duration_str":"3.32s","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1779903668.465333,"relative_start":3.3166730403900146,"end":1779903674.816088,"relative_end":5.0067901611328125e-6,"duration":6.350754976272583,"duration_str":"6.35s","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1779903668.93185,"relative_start":3.7831900119781494,"end":1779903669.077869,"relative_end":1779903669.077869,"duration":0.14601898193359375,"duration_str":"146ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1779903674.786883,"relative_start":9.63822317123413,"end":1779903674.797722,"relative_end":1779903674.797722,"duration":0.010838985443115234,"duration_str":"10.84ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1779903674.800538,"relative_start":9.651878118515015,"end":1779903674.800602,"relative_end":1779903674.800602,"duration":6.389617919921875e-5,"duration_str":"64\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":3493352,"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.13315000000000002,"accumulated_duration_str":"133ms","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":1779903670.625347,"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":1779903670.966838,"duration":0.08322,"duration_str":"83.22ms","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":62.501},{"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":1779903671.902208,"duration":0.00528,"duration_str":"5.28ms","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":62.501,"width_percent":3.965},{"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)', 'e691ed0afc975a1610db843c7fc5e189070bc51d726add3ab86531f9e29ccefb', '[\"*\"]', '2026-05-27 17:56:12', '01ksmjys53dhdmgzrm11bzaxhq', 'App\\Domain\\Auth\\Models\\User', '2026-05-27 17:41:12', '2026-05-27 17:41:12') returning \"id\"","type":"query","params":[],"bindings":["CompleCare (iOS 26.5 \u00b7 iPhone)","e691ed0afc975a1610db843c7fc5e189070bc51d726add3ab86531f9e29ccefb","[\"*\"]","2026-05-27 17:56:12","01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User","2026-05-27 17:41:12","2026-05-27 17:41:12"],"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":1779903672.1366072,"duration":0.01046,"duration_str":"10.46ms","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":66.466,"width_percent":7.856},{"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)', '360d091b0f81b7bed20905b408a4428e5e33641c9853ee031c541e77248b8f7c', '[\"auth:refresh\"]', '2026-06-26 17:41:12', '01ksmjys53dhdmgzrm11bzaxhq', 'App\\Domain\\Auth\\Models\\User', '2026-05-27 17:41:12', '2026-05-27 17:41:12') returning \"id\"","type":"query","params":[],"bindings":["CompleCare (iOS 26.5 \u00b7 iPhone) (refresh)","360d091b0f81b7bed20905b408a4428e5e33641c9853ee031c541e77248b8f7c","[\"auth:refresh\"]","2026-06-26 17:41:12","01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User","2026-05-27 17:41:12","2026-05-27 17:41:12"],"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":1779903672.368618,"duration":0.004900000000000001,"duration_str":"4.9ms","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":74.322,"width_percent":3.68},{"sql":"update \"personal_access_tokens\" set \"token_type\" = 'access', \"updated_at\" = '2026-05-27 17:41:12' where \"id\" = 29","type":"query","params":[],"bindings":["access","2026-05-27 17:41:12",29],"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":1779903672.586822,"duration":0.00461,"duration_str":"4.61ms","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":78.002,"width_percent":3.462},{"sql":"update \"personal_access_tokens\" set \"token_type\" = 'refresh', \"updated_at\" = '2026-05-27 17:41:12' where \"id\" = 30","type":"query","params":[],"bindings":["refresh","2026-05-27 17:41:12",30],"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":1779903672.8107312,"duration":0.00557,"duration_str":"5.57ms","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":81.465,"width_percent":4.183},{"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":1779903673.252386,"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":85.648,"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":1779903673.2578878,"duration":0.0053,"duration_str":"5.3ms","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":85.648,"width_percent":3.98},{"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)\"}', '2b04e75b93949c3b24ae2b829f1e0005a4502d71e06860793e0693e6c722d590', '2026-05-27 17:41:13', '2026-05-27 17:41:13', '55344ac15a8691d25bfcbc585f24a60b1bd28798dc84efe96c19d1e506f05947', '01ksn8dd2ejjh40x3s0tnj332h')","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)\"}","2b04e75b93949c3b24ae2b829f1e0005a4502d71e06860793e0693e6c722d590","2026-05-27 17:41:13","2026-05-27 17:41:13","55344ac15a8691d25bfcbc585f24a60b1bd28798dc84efe96c19d1e506f05947","01ksn8dd2ejjh40x3s0tnj332h"],"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":1779903673.424052,"duration":0.00211,"duration_str":"2.11ms","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":89.628,"width_percent":1.585},{"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":1779903673.776398,"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":91.213,"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":1779903674.006779,"duration":0.00383,"duration_str":"3.83ms","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":91.213,"width_percent":2.876},{"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":1779903674.09196,"duration":0.004030000000000001,"duration_str":"4.03ms","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":94.089,"width_percent":3.027},{"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":1779903674.611479,"duration":0.0038399999999999997,"duration_str":"3.84ms","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":97.116,"width_percent":2.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\/a1e19ca0-e56b-484c-9515-92cae0d69136\" target=\"_blank\">View in Telescope<\/a>","duration":"9.81s","peak_memory":"4MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-268497157 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-268497157\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-2074701063 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-2074701063\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1592267123 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-1592267123\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-275745493 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-275745493\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-255783353 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 17:41:14 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\">118<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-255783353\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-208731406 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-208731406\", {\"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}}