{"__meta":{"id":"Xfaf44a1589ee8a5cb51413e8715d452e","datetime":"2024-06-13 16:51:39","utime":1718275899.104565,"method":"GET","uri":"\/api\/saas\/main-company\/pricing-plans","ip":"127.0.0.1"},"php":{"version":"8.3.8","interface":"fpm-fcgi"},"messages":{"count":0,"messages":[]},"time":{"start":1718275898.978116,"end":1718275899.104571,"duration":0.12645506858825684,"duration_str":"126ms","measures":[{"label":"Booting","start":1718275898.978116,"relative_start":0,"end":1718275899.083721,"relative_end":1718275899.083721,"duration":0.10560488700866699,"duration_str":"106ms","memory":0,"memory_str":"0B","params":[],"collector":"time"},{"label":"Application","start":1718275899.083726,"relative_start":0.10560989379882812,"end":1718275899.104571,"relative_end":0,"duration":0.02084517478942871,"duration_str":"20.85ms","memory":0,"memory_str":"0B","params":[],"collector":"time"}]},"memory":{"peak_usage":6842664,"peak_usage_str":"7MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"nb_templates":0,"templates":[]},"route":{"uri":"GET api\/saas\/main-company\/pricing-plans","domain":"https:\/\/hrm.test","middleware":"api, cors, TimeZone, MaintenanceMode","controller":"Modules\\Saas\\Http\\Controllers\\API\\PricingPlanAPIController@pricingPlans","namespace":null,"prefix":"api\/saas\/main-company","where":[],"file":"<a href=\"phpstorm:\/\/open?file=%2FUsers%2Fshahriarrahat%2Fwww%2Fhrm%2FModules%2FSaas%2FHttp%2FControllers%2FAPI%2FPricingPlanAPIController.php&line=41\" onclick=\"\">Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php:41-66<\/a>"},"queries":{"nb_statements":4,"nb_failed_statements":0,"accumulated_duration":0.00321,"accumulated_duration_str":"3.21ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"select `id`, `name` from `plan_duration_types` where `status_id` = 1 and exists (select * from `pricing_plan_prices` where `plan_duration_types`.`id` = `pricing_plan_prices`.`plan_duration_type_id` and `status_id` = 1 and exists (select * from `pricing_plans` where `pricing_plan_prices`.`pricing_plan_id` = `pricing_plans`.`id` and `status_id` = 1))","type":"query","params":[],"bindings":["1","1","1"],"hints":null,"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php","file":"\/Users\/shahriarrahat\/www\/hrm\/Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php","line":59},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":205}],"start":1718275899.086192,"duration":0.00149,"duration_str":"1.49ms","memory":0,"memory_str":null,"filename":"PricingPlanAPIController.php:59","source":"Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php:59","xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fshahriarrahat%2Fwww%2Fhrm%2FModules%2FSaas%2FHttp%2FControllers%2FAPI%2FPricingPlanAPIController.php&line=59","ajax":false,"filename":"PricingPlanAPIController.php","line":"59"},"connection":"hrm_saas_single_db","start_percent":0,"width_percent":46.417},{"sql":"select `id`, `pricing_plan_id`, `plan_duration_type_id`, `price` from `pricing_plan_prices` where `pricing_plan_prices`.`plan_duration_type_id` in (1, 2, 3, 4) and `status_id` = 1 and exists (select * from `pricing_plans` where `pricing_plan_prices`.`pricing_plan_id` = `pricing_plans`.`id` and `status_id` = 1)","type":"query","params":[],"bindings":["1","1"],"hints":null,"show_copy":false,"backtrace":[{"index":19,"namespace":null,"name":"Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php","file":"\/Users\/shahriarrahat\/www\/hrm\/Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php","line":59},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":205}],"start":1718275899.088047,"duration":0.00054,"duration_str":"540\u03bcs","memory":0,"memory_str":null,"filename":"PricingPlanAPIController.php:59","source":"Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php:59","xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fshahriarrahat%2Fwww%2Fhrm%2FModules%2FSaas%2FHttp%2FControllers%2FAPI%2FPricingPlanAPIController.php&line=59","ajax":false,"filename":"PricingPlanAPIController.php","line":"59"},"connection":"hrm_saas_single_db","start_percent":46.417,"width_percent":16.822},{"sql":"select `id`, `name`, `employee_limit`, `is_employee_limit`, `basic_price`, `is_popular` from `pricing_plans` where `pricing_plans`.`id` in (1, 2, 3, 4) and `status_id` = 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":24,"namespace":null,"name":"Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php","file":"\/Users\/shahriarrahat\/www\/hrm\/Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php","line":59},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":27,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259},{"index":28,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":205}],"start":1718275899.088935,"duration":0.00037,"duration_str":"370\u03bcs","memory":0,"memory_str":null,"filename":"PricingPlanAPIController.php:59","source":"Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php:59","xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fshahriarrahat%2Fwww%2Fhrm%2FModules%2FSaas%2FHttp%2FControllers%2FAPI%2FPricingPlanAPIController.php&line=59","ajax":false,"filename":"PricingPlanAPIController.php","line":"59"},"connection":"hrm_saas_single_db","start_percent":63.24,"width_percent":11.526},{"sql":"select * from `pricing_plan_features` where `pricing_plan_features`.`pricing_plan_id` in (1, 2, 3, 4)","type":"query","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":29,"namespace":null,"name":"Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php","file":"\/Users\/shahriarrahat\/www\/hrm\/Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php","line":59},{"index":30,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":31,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":32,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259},{"index":33,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/shahriarrahat\/www\/hrm\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":205}],"start":1718275899.0899012,"duration":0.0008100000000000001,"duration_str":"810\u03bcs","memory":0,"memory_str":null,"filename":"PricingPlanAPIController.php:59","source":"Modules\/Saas\/Http\/Controllers\/API\/PricingPlanAPIController.php:59","xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fshahriarrahat%2Fwww%2Fhrm%2FModules%2FSaas%2FHttp%2FControllers%2FAPI%2FPricingPlanAPIController.php&line=59","ajax":false,"filename":"PricingPlanAPIController.php","line":"59"},"connection":"hrm_saas_single_db","start_percent":74.766,"width_percent":25.234}]},"models":{"data":{"Modules\\Saas\\Entities\\PricingPlanFeature":{"value":87,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fshahriarrahat%2Fwww%2Fhrm%2FModules%2FSaas%2FEntities%2FPricingPlanFeature.php&line=1","ajax":false,"filename":"PricingPlanFeature.php","line":"?"}},"Modules\\Saas\\Entities\\PricingPlanPrice":{"value":16,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fshahriarrahat%2Fwww%2Fhrm%2FModules%2FSaas%2FEntities%2FPricingPlanPrice.php&line=1","ajax":false,"filename":"PricingPlanPrice.php","line":"?"}},"Modules\\Saas\\Entities\\PlanDurationType":{"value":4,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fshahriarrahat%2Fwww%2Fhrm%2FModules%2FSaas%2FEntities%2FPlanDurationType.php&line=1","ajax":false,"filename":"PlanDurationType.php","line":"?"}},"Modules\\Saas\\Entities\\PricingPlan":{"value":4,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fshahriarrahat%2Fwww%2Fhrm%2FModules%2FSaas%2FEntities%2FPricingPlan.php&line=1","ajax":false,"filename":"PricingPlan.php","line":"?"}}},"count":111,"is_counter":true},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"session":[],"request":{"path_info":"\/api\/saas\/main-company\/pricing-plans","status_code":"<pre class=sf-dump id=sf-dump-666690163 data-indent-pad=\"  \"><span class=sf-dump-num>200<\/span>\n<\/pre><script>Sfdump(\"sf-dump-666690163\", {\"maxDepth\":0})<\/script>\n","status_text":"OK","format":"html","content_type":"application\/json","request_query":"<pre class=sf-dump id=sf-dump-756024173 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-756024173\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-1232603494 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1232603494\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1137480951 data-indent-pad=\"  \"><span class=sf-dump-note>array:2<\/span> [<samp data-depth=1 class=sf-dump-expanded>\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=\"12 characters\">GuzzleHttp\/7<\/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=\"8 characters\">hrm.test<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1137480951\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-2123464597 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-2123464597\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-779146243 data-indent-pad=\"  \"><span class=sf-dump-note>array:7<\/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\">Thu, 13 Jun 2024 10:51:39 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>access-control-allow-origin<\/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>*<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>access-control-allow-methods<\/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=\"31 characters\">GET, POST, PUT, DELETE, OPTIONS<\/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=\"2 characters\">60<\/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=\"2 characters\">59<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-779146243\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-798816616 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-798816616\", {\"maxDepth\":0})<\/script>\n"}}