[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Xac183c227f2592f4f152aff18db040a2.json
{"__meta":{"id":"Xac183c227f2592f4f152aff18db040a2","datetime":"2025-02-18 16:58:20","utime":1739876300.36966,"method":"GET","uri":"\/api\/admin\/dashboard\/order-statistics","ip":"127.0.0.1"},"php":{"version":"8.2.27","interface":"fpm-fcgi"},"messages":{"count":0,"messages":[]},"time":{"start":1739876300.334773,"end":1739876300.369668,"duration":0.03489494323730469,"duration_str":"34.89ms","measures":[{"label":"Booting","start":1739876300.334773,"relative_start":0,"end":1739876300.35443,"relative_end":1739876300.35443,"duration":0.019656896591186523,"duration_str":"19.66ms","memory":0,"memory_str":"0B","params":[],"collector":"time"},{"label":"Application","start":1739876300.354439,"relative_start":0.019665956497192383,"end":1739876300.369668,"relative_end":0,"duration":0.015228986740112305,"duration_str":"15.23ms","memory":0,"memory_str":"0B","params":[],"collector":"time"}]},"memory":{"peak_usage":2754848,"peak_usage_str":"3MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"nb_templates":0,"templates":[]},"route":{"uri":"GET api\/admin\/dashboard\/order-statistics","middleware":"api, installed, apiKey, localization, permission:dashboard","controller":"App\\Http\\Controllers\\Admin\\DashboardController@orderStatistics","as":"admin.dashboard.","namespace":null,"prefix":"api\/admin\/dashboard","where":[],"file":"<a href=\"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FHttp%2FControllers%2FAdmin%2FDashboardController.php&line=80\" onclick=\"\">app\/Http\/Controllers\/Admin\/DashboardController.php:80-88<\/a>"},"queries":{"nb_statements":22,"nb_visible_statements":22,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.0035799999999999994,"accumulated_duration_str":"3.58ms","memory_usage":0,"memory_usage_str":null,"statements":[{"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` from `permissions` inner join `model_has_permissions` on `permissions`.`id` = `model_has_permissions`.`permission_id` where `model_has_permissions`.`model_id` = 1 and `model_has_permissions`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":[1,"App\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":19,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":305},{"index":20,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":193},{"index":21,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":244},{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","line":136},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Access\/Gate.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Access\/Gate.php","line":553}],"start":1739876300.3591762,"duration":0.0003,"duration_str":"300\u03bcs","memory":0,"memory_str":null,"filename":"HasPermissions.php:305","source":{"index":19,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":305},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasPermissions.php&line=305","ajax":false,"filename":"HasPermissions.php","line":"305"},"connection":"foodking","explain":null,"start_percent":0,"width_percent":8.38},{"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` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (1) and `model_has_roles`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":["App\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":21,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":188},{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":291},{"index":23,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":193},{"index":24,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":244},{"index":25,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","line":136}],"start":1739876300.3603492,"duration":0.00029,"duration_str":"290\u03bcs","memory":0,"memory_str":null,"filename":"HasRoles.php:188","source":{"index":21,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":188},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasRoles.php&line=188","ajax":false,"filename":"HasRoles.php","line":"188"},"connection":"foodking","explain":null,"start_percent":8.38,"width_percent":8.101},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":37},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1739876300.361407,"duration":0.00011999999999999999,"duration_str":"120\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":16.48,"width_percent":3.352},{"sql":"select count(*) as aggregate from `orders` where date(`order_datetime`) >= '2025-02-18' and date(`order_datetime`) <= '2025-02-18' and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-02-18","2025-02-18",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":37},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1739876300.361742,"duration":0.00017,"duration_str":"170\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:37","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":37},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=37","ajax":false,"filename":"DashboardService.php","line":"37"},"connection":"foodking","explain":null,"start_percent":19.832,"width_percent":4.749},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":38},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1739876300.362127,"duration":0.0001,"duration_str":"100\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":24.581,"width_percent":2.793},{"sql":"select count(*) as aggregate from `orders` where `status` = 1 and date(`order_datetime`) >= '2025-02-18' and date(`order_datetime`) <= '2025-02-18' and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":[1,"2025-02-18","2025-02-18",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":38},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1739876300.36244,"duration":0.00011999999999999999,"duration_str":"120\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:38","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":38},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=38","ajax":false,"filename":"DashboardService.php","line":"38"},"connection":"foodking","explain":null,"start_percent":27.374,"width_percent":3.352},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":39},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1739876300.362765,"duration":8.999999999999999e-5,"duration_str":"90\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":30.726,"width_percent":2.514},{"sql":"select count(*) as aggregate from `orders` where `status` = 4 and date(`order_datetime`) >= '2025-02-18' and date(`order_datetime`) <= '2025-02-18' and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":[4,"2025-02-18","2025-02-18",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":39},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1739876300.363013,"duration":0.00011,"duration_str":"110\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:39","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":39},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=39","ajax":false,"filename":"DashboardService.php","line":"39"},"connection":"foodking","explain":null,"start_percent":33.24,"width_percent":3.073},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":40},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1739876300.3632958,"duration":8.0e-5,"duration_str":"80\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":36.313,"width_percent":2.235},{"sql":"select count(*) as aggregate from `orders` where `status` = 7 and date(`order_datetime`) >= '2025-02-18' and date(`order_datetime`) <= '2025-02-18' and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":[7,"2025-02-18","2025-02-18",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":40},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1739876300.3635378,"duration":0.00026000000000000003,"duration_str":"260\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:40","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":40},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=40","ajax":false,"filename":"DashboardService.php","line":"40"},"connection":"foodking","explain":null,"start_percent":38.547,"width_percent":7.263},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":41},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1739876300.363981,"duration":0.00017999999999999998,"duration_str":"180\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":45.81,"width_percent":5.028},{"sql":"select count(*) as aggregate from `orders` where `status` = 8 and date(`order_datetime`) >= '2025-02-18' and date(`order_datetime`) <= '2025-02-18' and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":[8,"2025-02-18","2025-02-18",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":41},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1739876300.364352,"duration":0.00028000000000000003,"duration_str":"280\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:41","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":41},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=41","ajax":false,"filename":"DashboardService.php","line":"41"},"connection":"foodking","explain":null,"start_percent":50.838,"width_percent":7.821},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":42},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1739876300.365096,"duration":0.00013000000000000002,"duration_str":"130\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":58.659,"width_percent":3.631},{"sql":"select count(*) as aggregate from `orders` where `status` = 10 and date(`order_datetime`) >= '2025-02-18' and date(`order_datetime`) <= '2025-02-18' and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":[10,"2025-02-18","2025-02-18",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":42},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1739876300.36551,"duration":0.00015,"duration_str":"150\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:42","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":42},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=42","ajax":false,"filename":"DashboardService.php","line":"42"},"connection":"foodking","explain":null,"start_percent":62.291,"width_percent":4.19},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":43},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1739876300.36625,"duration":0.00028000000000000003,"duration_str":"280\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":66.48,"width_percent":7.821},{"sql":"select count(*) as aggregate from `orders` where `status` = 13 and date(`order_datetime`) >= '2025-02-18' and date(`order_datetime`) <= '2025-02-18' and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":[13,"2025-02-18","2025-02-18",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":43},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1739876300.367051,"duration":0.00023,"duration_str":"230\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:43","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":43},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=43","ajax":false,"filename":"DashboardService.php","line":"43"},"connection":"foodking","explain":null,"start_percent":74.302,"width_percent":6.425},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":44},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1739876300.367515,"duration":0.00016,"duration_str":"160\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":80.726,"width_percent":4.469},{"sql":"select count(*) as aggregate from `orders` where `status` = 16 and date(`order_datetime`) >= '2025-02-18' and date(`order_datetime`) <= '2025-02-18' and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":[16,"2025-02-18","2025-02-18",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":44},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1739876300.367846,"duration":0.00014000000000000001,"duration_str":"140\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:44","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":44},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=44","ajax":false,"filename":"DashboardService.php","line":"44"},"connection":"foodking","explain":null,"start_percent":85.196,"width_percent":3.911},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":45},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1739876300.3681722,"duration":0.0001,"duration_str":"100\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":89.106,"width_percent":2.793},{"sql":"select count(*) as aggregate from `orders` where `status` = 22 and date(`order_datetime`) >= '2025-02-18' and date(`order_datetime`) <= '2025-02-18' and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":[22,"2025-02-18","2025-02-18",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":45},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1739876300.3684452,"duration":0.00011,"duration_str":"110\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:45","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":45},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=45","ajax":false,"filename":"DashboardService.php","line":"45"},"connection":"foodking","explain":null,"start_percent":91.899,"width_percent":3.073},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":46},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1739876300.368743,"duration":8.0e-5,"duration_str":"80\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":94.972,"width_percent":2.235},{"sql":"select count(*) as aggregate from `orders` where `status` = 19 and date(`order_datetime`) >= '2025-02-18' and date(`order_datetime`) <= '2025-02-18' and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":[19,"2025-02-18","2025-02-18",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":46},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":84},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1739876300.369014,"duration":0.0001,"duration_str":"100\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:46","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodking\/app\/Services\/DashboardService.php","line":46},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=46","ajax":false,"filename":"DashboardService.php","line":"46"},"connection":"foodking","explain":null,"start_percent":97.207,"width_percent":2.793}]},"models":{"data":{"App\\Models\\DefaultAccess":{"value":10,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fapp%2FModels%2FDefaultAccess.php&line=1","ajax":false,"filename":"DefaultAccess.php","line":"?"}},"Spatie\\Permission\\Models\\Role":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodking%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FModels%2FRole.php&line=1","ajax":false,"filename":"Role.php","line":"?"}}},"count":11,"is_counter":true},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":1,"messages":[{"message":"[\n ability => dashboard,\n target => null,\n result => true,\n user => 1,\n arguments => []\n]","message_html":"<pre class=sf-dump id=sf-dump-516212807 data-indent-pad=\" \"><span class=sf-dump-note>dashboard <\/span> [<samp data-depth=1 class=sf-dump-compact>\n \"<span class=sf-dump-key>ability<\/span>\" => \"<span class=sf-dump-str title=\"9 characters\">dashboard<\/span>\"\n \"<span class=sf-dump-key>target<\/span>\" => <span class=sf-dump-const>null<\/span>\n \"<span class=sf-dump-key>result<\/span>\" => <span class=sf-dump-const>true<\/span>\n \"<span class=sf-dump-key>user<\/span>\" => <span class=sf-dump-num>1<\/span>\n \"<span class=sf-dump-key>arguments<\/span>\" => \"<span class=sf-dump-str title=\"2 characters\">[]<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-516212807\", {\"maxDepth\":0})<\/script>\n","is_string":false,"label":"success","time":1739876300.361187,"xdebug_link":null}]},"session":[],"request":{"path_info":"\/api\/admin\/dashboard\/order-statistics","status_code":"<pre class=sf-dump id=sf-dump-979953891 data-indent-pad=\" \"><span class=sf-dump-num>200<\/span>\n<\/pre><script>Sfdump(\"sf-dump-979953891\", {\"maxDepth\":0})<\/script>\n","status_text":"OK","format":"html","content_type":"application\/json","request_query":"<pre class=sf-dump id=sf-dump-738605085 data-indent-pad=\" \">[]\n<\/pre><script>Sfdump(\"sf-dump-738605085\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-1167610726 data-indent-pad=\" \">[]\n<\/pre><script>Sfdump(\"sf-dump-1167610726\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-879380718 data-indent-pad=\" \"><span class=sf-dump-note>array:18<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n \"<span class=sf-dump-key>cookie<\/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=\"1061 characters\">_ga=GA1.1.1421793634.1739876180; user_cookie_consent=Mozilla%2F5.0%20%28Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_7%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%20Chrome%2F133.0.0.0%20Safari%2F537.36%2C%20127.0.0.1; cookies_notification=1; XSRF-TOKEN=eyJpdiI6IkNxd2tsb2kvWGNieE5tKzRtRDgzSmc9PSIsInZhbHVlIjoieWtxcXBWcGJuaHI3NXJ5dmZDdjJtdU53YW9vcDA1akdlelQyQXZUVmt4Rk5uMUJZL200VjdpVlNGT1lEd1RqYWovUnpLZmF0eVZiTTJyWGtHWERCK3BIZEhTOFphNWUvTllLQ2hKV2pUU0lhcXE0blFRSW5pU01WRHJ5WndrV2kiLCJtYWMiOiIwZmE3YjM1MTAxMzVmNzRmODUwNmM5Y2U2MTYxYjdmYTI5ZjYyYzRmZTUxYmZkY2Q0N2JhYTk5YWE4MTQ5YmFmIiwidGFnIjoiIn0%3D; foodking_restaurant_food_ordering_delivery_app_session=eyJpdiI6ImN2MkJENXowSkt5ajhUNUJ1d01OK1E9PSIsInZhbHVlIjoicWxLV1RpZFJLQllrRjJhSjNRK05nblU5ZTNRRkJZWHAvNElWNnkvbWlJbTZBM0daVlFlR01qeno4Mzl3Q0pkMUlWZnU5cEtrb25PeDdPclVBdDdvVFRQRmJlZEhxUFZrN25JLzJTeWxrV3NMYS9HSHBnRUtoQXNDMkJVQ1ZjVGsiLCJtYWMiOiIzNzJmODEyY2JlOTdkMmNkMWI5MTIyNmQ3ZDM4NTYyYzczZGU2MWFiZDAxNDgzYWFjM2I5MTQ3NDZjMDMzZWFlIiwidGFnIjoiIn0%3D; _ga_2FC340CGN0=GS1.1.1739876180.1.1.1739876294.0.0.0<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>priority<\/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=\"6 characters\">u=1, i<\/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-US,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=\"23 characters\">gzip, deflate, br, zstd<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>referer<\/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=\"37 characters\">https:\/\/foodking.test\/admin\/dashboard<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-fetch-dest<\/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=\"5 characters\">empty<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-fetch-mode<\/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=\"4 characters\">cors<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-fetch-site<\/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\">same-origin<\/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=\"117 characters\">Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/133.0.0.0 Safari\/537.36<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-ch-ua-mobile<\/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=\"2 characters\">?0<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>x-api-key<\/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=\"38 characters\">b6d68vy2-m7g5-20r0-5275-h103w73453q120<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>x-localization<\/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=\"2 characters\">en<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-ch-ua<\/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=\"65 characters\">"Not(A:Brand";v="99", "Google Chrome";v="133", "Chromium";v="133"<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>x-xsrf-token<\/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=\"340 characters\">eyJpdiI6IkNxd2tsb2kvWGNieE5tKzRtRDgzSmc9PSIsInZhbHVlIjoieWtxcXBWcGJuaHI3NXJ5dmZDdjJtdU53YW9vcDA1akdlelQyQXZUVmt4Rk5uMUJZL200VjdpVlNGT1lEd1RqYWovUnpLZmF0eVZiTTJyWGtHWERCK3BIZEhTOFphNWUvTllLQ2hKV2pUU0lhcXE0blFRSW5pU01WRHJ5WndrV2kiLCJtYWMiOiIwZmE3YjM1MTAxMzVmNzRmODUwNmM5Y2U2MTYxYjdmYTI5ZjYyYzRmZTUxYmZkY2Q0N2JhYTk5YWE4MTQ5YmFmIiwidGFnIjoiIn0=<\/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 1|Oxn******<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-ch-ua-platform<\/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=\"7 characters\">"macOS"<\/span>\"\n <\/samp>]\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=\"13 characters\">foodking.test<\/span>\"\n <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-879380718\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1573332580 data-indent-pad=\" \"><span class=sf-dump-note>array:6<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n \"<span class=sf-dump-key>_ga<\/span>\" => \"<span class=sf-dump-str title=\"27 characters\">GA1.1.1421793634.1739876180<\/span>\"\n \"<span class=sf-dump-key>user_cookie_consent<\/span>\" => \"<span class=sf-dump-str title=\"128 characters\">Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/133.0.0.0 Safari\/537.36, 127.0.0.1<\/span>\"\n \"<span class=sf-dump-key>cookies_notification<\/span>\" => \"<span class=sf-dump-str>1<\/span>\"\n \"<span class=sf-dump-key>XSRF-TOKEN<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6IkNxd2tsb2kvWGNieE5tKzRtRDgzSmc9PSIsInZhbHVlIjoieWtxcXBWcGJuaHI3NXJ5dmZDdjJtdU53YW9vcDA1akdlelQyQXZUVmt4Rk5uMUJZL200VjdpVlNGT1lEd1RqYWovUnpLZmF0eVZiTTJyWGtHWERCK3BIZEhTOFphNWUvTllLQ2hKV2pUU0lhcXE0blFRSW5pU01WRHJ5WndrV2kiLCJtYWMiOiIwZmE3YjM1MTAxMzVmNzRmODUwNmM5Y2U2MTYxYjdmYTI5ZjYyYzRmZTUxYmZkY2Q0N2JhYTk5YWE4MTQ5YmFmIiwidGFnIjoiIn0=<\/span>\"\n \"<span class=sf-dump-key>foodking_restaurant_food_ordering_delivery_app_session<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6ImN2MkJENXowSkt5ajhUNUJ1d01OK1E9PSIsInZhbHVlIjoicWxLV1RpZFJLQllrRjJhSjNRK05nblU5ZTNRRkJZWHAvNElWNnkvbWlJbTZBM0daVlFlR01qeno4Mzl3Q0pkMUlWZnU5cEtrb25PeDdPclVBdDdvVFRQRmJlZEhxUFZrN25JLzJTeWxrV3NMYS9HSHBnRUtoQXNDMkJVQ1ZjVGsiLCJtYWMiOiIzNzJmODEyY2JlOTdkMmNkMWI5MTIyNmQ3ZDM4NTYyYzczZGU2MWFiZDAxNDgzYWFjM2I5MTQ3NDZjMDMzZWFlIiwidGFnIjoiIn0=<\/span>\"\n \"<span class=sf-dump-key>_ga_2FC340CGN0<\/span>\" => \"<span class=sf-dump-str title=\"37 characters\">GS1.1.1739876180.1.1.1739876294.0.0.0<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1573332580\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-1951266059 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\">Tue, 18 Feb 2025 10:58:20 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\">109<\/span>\"\n <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1951266059\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-1392815539 data-indent-pad=\" \">[]\n<\/pre><script>Sfdump(\"sf-dump-1392815539\", {\"maxDepth\":0})<\/script>\n"}}
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 60.08 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002