{"__meta":{"id":"01KSN8RF1XD2VZYHE9R30GC37S","datetime":"2026-05-27 17:47:15","utime":1779904035.905179,"method":"POST","uri":"\/api\/v1\/auth\/login","ip":"172.18.0.1"},"messages":{"count":0,"messages":[]},"time":{"count":5,"start":1779904024.452268,"end":1779904035.905225,"duration":11.452957153320312,"duration_str":"11.45s","measures":[{"label":"Booting","start":1779904024.452268,"relative_start":0,"end":1779904029.609648,"relative_end":1779904029.609648,"duration":5.157380104064941,"duration_str":"5.16s","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1779904029.609688,"relative_start":5.1574201583862305,"end":1779904035.905232,"relative_end":6.9141387939453125e-6,"duration":6.295543909072876,"duration_str":"6.3s","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1779904029.904104,"relative_start":5.451836109161377,"end":1779904029.956323,"relative_end":1779904029.956323,"duration":0.05221891403198242,"duration_str":"52.22ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1779904035.872692,"relative_start":11.420424222946167,"end":1779904035.883897,"relative_end":1779904035.883897,"duration":0.011204957962036133,"duration_str":"11.2ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1779904035.891356,"relative_start":11.439088106155396,"end":1779904035.891441,"relative_end":1779904035.891441,"duration":8.511543273925781e-5,"duration_str":"85\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":3450856,"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.11253,"accumulated_duration_str":"113ms","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":1779904031.358111,"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 \"email\" = 'patient.test@complecare.example' and \"users\".\"deleted_at\" is null limit 1","type":"query","params":[],"bindings":["patient.test@complecare.example"],"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":1779904031.536319,"duration":0.06405,"duration_str":"64.05ms","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":56.918},{"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":1779904032.378573,"duration":0.00552,"duration_str":"5.52ms","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":56.918,"width_percent":4.905},{"sql":"insert into \"personal_access_tokens\" (\"name\", \"token\", \"abilities\", \"expires_at\", \"tokenable_id\", \"tokenable_type\", \"updated_at\", \"created_at\") values ('ios', 'f3ed6e445f901170e562b78e6a7c57b8b8fb910c8415e4ac961edd1f54fe667d', '[\"*\"]', '2026-05-27 18:02:12', '01ksmjys53dhdmgzrm11bzaxhq', 'App\\Domain\\Auth\\Models\\User', '2026-05-27 17:47:12', '2026-05-27 17:47:12') returning \"id\"","type":"query","params":[],"bindings":["ios","f3ed6e445f901170e562b78e6a7c57b8b8fb910c8415e4ac961edd1f54fe667d","[\"*\"]","2026-05-27 18:02:12","01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User","2026-05-27 17:47:12","2026-05-27 17:47: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":1779904032.751051,"duration":0.0068,"duration_str":"6.8ms","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":61.824,"width_percent":6.043},{"sql":"insert into \"personal_access_tokens\" (\"name\", \"token\", \"abilities\", \"expires_at\", \"tokenable_id\", \"tokenable_type\", \"updated_at\", \"created_at\") values ('ios (refresh)', 'afa532a4bc9eabb145116e00264f691772a4fa04a3ee52502ece2255b625415e', '[\"auth:refresh\"]', '2026-06-26 17:47:12', '01ksmjys53dhdmgzrm11bzaxhq', 'App\\Domain\\Auth\\Models\\User', '2026-05-27 17:47:12', '2026-05-27 17:47:12') returning \"id\"","type":"query","params":[],"bindings":["ios (refresh)","afa532a4bc9eabb145116e00264f691772a4fa04a3ee52502ece2255b625415e","[\"auth:refresh\"]","2026-06-26 17:47:12","01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User","2026-05-27 17:47:12","2026-05-27 17:47: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":1779904032.9119809,"duration":0.00551,"duration_str":"5.51ms","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.866,"width_percent":4.896},{"sql":"update \"personal_access_tokens\" set \"token_type\" = 'access', \"updated_at\" = '2026-05-27 17:47:13' where \"id\" = 31","type":"query","params":[],"bindings":["access","2026-05-27 17:47:13",31],"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":1779904033.10809,"duration":0.004889999999999999,"duration_str":"4.89ms","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":72.763,"width_percent":4.346},{"sql":"update \"personal_access_tokens\" set \"token_type\" = 'refresh', \"updated_at\" = '2026-05-27 17:47:13' where \"id\" = 32","type":"query","params":[],"bindings":["refresh","2026-05-27 17:47:13",32],"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":1779904033.37234,"duration":0.0035499999999999998,"duration_str":"3.55ms","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":77.108,"width_percent":3.155},{"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":1779904033.699824,"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":80.263,"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":1779904033.7050312,"duration":0.00537,"duration_str":"5.37ms","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":80.263,"width_percent":4.772},{"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', null, 'auth.login.success', 'auth', 'info', 'App\\Domain\\Auth\\Models\\User', '01ksmjys53dhdmgzrm11bzaxhq', null, '{\"device_name\":\"ios\"}', 'ca765063f50b8072d917e154fcdd74d76a9274ca64082ce4e840e50baaf3f579', '2026-05-27 17:47:13', '2026-05-27 17:47:13', '80baebddad533e15fc7430dcb8f35dc81f525649da45047e7652fd7cf0c0313f', '01ksn8rd0e1r1vmpq55nxf5c30')","type":"query","params":[],"bindings":[null,null,null,"172.18.0.1",null,"auth.login.success","auth","info","App\\Domain\\Auth\\Models\\User","01ksmjys53dhdmgzrm11bzaxhq",null,"{\"device_name\":\"ios\"}","ca765063f50b8072d917e154fcdd74d76a9274ca64082ce4e840e50baaf3f579","2026-05-27 17:47:13","2026-05-27 17:47:13","80baebddad533e15fc7430dcb8f35dc81f525649da45047e7652fd7cf0c0313f","01ksn8rd0e1r1vmpq55nxf5c30"],"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":1779904033.80857,"duration":0.00182,"duration_str":"1.82ms","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":85.035,"width_percent":1.617},{"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":1779904034.043473,"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.652,"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":1779904034.3283179,"duration":0.00408,"duration_str":"4.08ms","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.652,"width_percent":3.626},{"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":1779904034.475553,"duration":0.00632,"duration_str":"6.32ms","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.278,"width_percent":5.616},{"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":1779904035.528542,"duration":0.00462,"duration_str":"4.62ms","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":95.894,"width_percent":4.106}]},"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:\/\/localhost\/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:\/\/localhost\/_debugbar\/telescope\/a1e19ec7-d634-4dbe-8904-510d6dad0a1d\" 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-1961882866 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1961882866\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-893772761 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>email<\/span>\" => \"<span class=sf-dump-str title=\"31 characters\">patient.test@complecare.example<\/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=\"3 characters\">ios<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-893772761\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-896832728 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>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=\"9 characters\">localhost<\/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>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>authorization<\/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=\"18 characters\">Bearer eyJhb******<\/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\">106<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-896832728\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-734957375 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-734957375\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-1791731261 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:47:15 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-1791731261\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-495238082 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-495238082\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"http:\/\/localhost\/api\/v1\/auth\/login","action_name":"auth.login","controller_action":"App\\Http\\Controllers\\Api\\V1\\AuthController@login"},"badge":null}}