{"id":6203,"date":"2021-05-12T03:29:39","date_gmt":"2021-05-12T03:29:39","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=6203"},"modified":"2021-05-12T10:05:41","modified_gmt":"2021-05-12T10:05:41","slug":"multiple-checkbox-select-in-laravel-microservice","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/","title":{"rendered":"How to Store Multiple Records using Checkbox in Laravel?"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkboxs-1024x495.png\" alt=\"\" class=\"wp-image-6219\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkboxs-1024x495.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkboxs-300x145.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkboxs-768x371.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkboxs.png 1358w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>First Part: first of all, we will learn how to design or getdata in blade file<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In table we will set one field default value as no while migrating data<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"494\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox7-1024x494.png\" alt=\"\" class=\"wp-image-6204\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox7-1024x494.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox7-300x145.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox7-768x370.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox7-1536x741.png 1536w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox7.png 1688w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>test_migration.php<\/strong><\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/rakesh1166-cm\/6ca0cae68190bb91bfa808016d7237df.js\"><\/script>\n\n\n\n<p class=\"wp-block-paragraph\">In blade file we will create one table<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"526\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/perm1-1024x526.png\" alt=\"\" class=\"wp-image-6205\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/perm1-1024x526.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/perm1-300x154.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/perm1-768x395.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/perm1-1536x789.png 1536w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/perm1.png 1681w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, in js we will create one fetch function<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"483\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox1-1024x483.png\" alt=\"\" class=\"wp-image-6206\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox1-1024x483.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox1-300x141.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox1-768x362.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox1-1536x724.png 1536w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox1.png 1688w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox2-1024x476.png\" alt=\"\" class=\"wp-image-6207\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox2-1024x476.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox2-300x140.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox2-768x357.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox2-1536x714.png 1536w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox2.png 1688w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">onclick java script function<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox-1024x476.png\" alt=\"\" class=\"wp-image-6217\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox-1024x476.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox-300x140.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox-768x357.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox-1536x714.png 1536w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox.png 1688w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Routing:set route<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Route::prefix(&#8216;\/touroperator&#8217;)-&gt;group(function () use ($namespace) {<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n$controller = $namespace.&#039;\\TourDashboardController&#039;;\n$tourcontroller = $namespace.&#039;\\TourDetailController&#039;;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Route::get(&#8216;toursdetail\/{email}&#8217;,&#8221;$tourcontroller@gettrip&#8221;);<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>});<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>create function in client side controller<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"510\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox2-1024x510.png\" alt=\"\" class=\"wp-image-6216\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox2-1024x510.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox2-300x149.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox2-768x382.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox2-1536x764.png 1536w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox2.png 1688w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Set env file<\/strong>:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">GET_MYHOLIDAYTRIP_URL=\/api\/v1\/j\/gettripdetail<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Set Config file:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">GET_MYHOLIDAYTRIP_URL&#8217;&nbsp;=&gt;&nbsp;env(&#8216;GET_MYHOLIDAYTRIP_URL&#8217;,&nbsp;&#8216;not&nbsp;found&nbsp;in&nbsp;.env&nbsp;file&#8217;),<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Routing set Server side:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Route::get(&#8216;gettripdetail\/{email}&#8217;, &#8216;Admin\\AdminTPController@tripdetail&#8217;);<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Create function in server side<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"491\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox3-1024x491.png\" alt=\"\" class=\"wp-image-6212\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox3-1024x491.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox3-300x144.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox3-768x368.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox3-1536x736.png 1536w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox3.png 1688w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Second Part: thereafter, we will learn how to store data after selecting in blade file<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"503\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox4-1-1024x503.png\" alt=\"\" class=\"wp-image-6214\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox4-1-1024x503.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox4-1-300x147.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox4-1-768x377.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox4-1-1536x754.png 1536w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/miltiple-checkbox4-1.png 1688w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Set Routing(Client side microservice) :<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Route::prefix(&#8216;\/touroperator&#8217;)-&gt;group(function () use ($namespace) {<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n$controller = $namespace.&#039;\\TourDashboardController&#039;;\n$tourcontroller = $namespace.&#039;\\TourDetailController&#039;;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Route::post(&#8216;permissiontour\/{email}&#8217;, &#8216;AdminController@addpermission&#8217;)-&gt;name(&#8216;permissiontour&#8217;);<br>});<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Create function in client side controller<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"515\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox5-1-1024x515.png\" alt=\"\" class=\"wp-image-6215\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox5-1-1024x515.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox5-1-300x151.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox5-1-768x386.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox5-1-1536x773.png 1536w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox5-1.png 1688w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Set Env file<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PERMIT_TRIP_URL=\/api\/v1\/j\/permittrip<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>config file:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8216;PERMIT_TRIP_URL&#8217;&nbsp;=&gt;&nbsp;env(&#8216;PERMIT_TRIP_URL&#8217;,&nbsp;&#8216;not&nbsp;found&nbsp;in&nbsp;.env&nbsp;file&#8217;),&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Set Routing in server side Microservice<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Route::post(&#8216;\/permittrip&#8217;, &#8216;Admin\\AdminTPController@storepermission&#8217;);<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Create function in controller server side microservice<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox6-1-1024x476.png\" alt=\"\" class=\"wp-image-6218\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox6-1-1024x476.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox6-1-300x140.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox6-1-768x357.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox6-1-1536x714.png 1536w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkbox6-1.png 1688w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>First Part: first of all, we will learn how to design or getdata in blade file In table we will [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5049],"tags":[5052,5293],"class_list":["post-6203","post","type-post","status-publish","format-standard","hentry","category-laravel","tag-laravel","tag-multiple-checkbox"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Store Multiple Records using Checkbox in Laravel? - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Store Multiple Records using Checkbox in Laravel? - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"First Part: first of all, we will learn how to design or getdata in blade file In table we will [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-12T03:29:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-12T10:05:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkboxs-1024x495.png\" \/>\n<meta name=\"author\" content=\"Rakesh K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rakesh K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/\"},\"author\":{\"name\":\"Rakesh K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/00a5bea1933de2df743213c119a73645\"},\"headline\":\"How to Store Multiple Records using Checkbox in Laravel?\",\"datePublished\":\"2021-05-12T03:29:39+00:00\",\"dateModified\":\"2021-05-12T10:05:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/\"},\"wordCount\":233,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/multiple-checkboxs-1024x495.png\",\"keywords\":[\"laravel\",\"multiple checkbox\"],\"articleSection\":[\"Laravel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/\",\"name\":\"How to Store Multiple Records using Checkbox in Laravel? - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/multiple-checkboxs-1024x495.png\",\"datePublished\":\"2021-05-12T03:29:39+00:00\",\"dateModified\":\"2021-05-12T10:05:41+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/00a5bea1933de2df743213c119a73645\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/multiple-checkboxs.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/multiple-checkboxs.png\",\"width\":1358,\"height\":656},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/multiple-checkbox-select-in-laravel-microservice\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Store Multiple Records using Checkbox in Laravel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/00a5bea1933de2df743213c119a73645\",\"name\":\"Rakesh K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g\",\"caption\":\"Rakesh K\"},\"description\":\"Hi I am Rakesh Experienced Web Developer with a demonstrated history of working in the information technology and services industry.\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/rakesh\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Store Multiple Records using Checkbox in Laravel? - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/","og_locale":"en_US","og_type":"article","og_title":"How to Store Multiple Records using Checkbox in Laravel? - scmGalaxy","og_description":"First Part: first of all, we will learn how to design or getdata in blade file In table we will [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/","og_site_name":"scmGalaxy","article_published_time":"2021-05-12T03:29:39+00:00","article_modified_time":"2021-05-12T10:05:41+00:00","og_image":[{"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkboxs-1024x495.png","type":"","width":"","height":""}],"author":"Rakesh K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rakesh K","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/"},"author":{"name":"Rakesh K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/00a5bea1933de2df743213c119a73645"},"headline":"How to Store Multiple Records using Checkbox in Laravel?","datePublished":"2021-05-12T03:29:39+00:00","dateModified":"2021-05-12T10:05:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/"},"wordCount":233,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkboxs-1024x495.png","keywords":["laravel","multiple checkbox"],"articleSection":["Laravel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/","name":"How to Store Multiple Records using Checkbox in Laravel? - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkboxs-1024x495.png","datePublished":"2021-05-12T03:29:39+00:00","dateModified":"2021-05-12T10:05:41+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/00a5bea1933de2df743213c119a73645"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkboxs.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/multiple-checkboxs.png","width":1358,"height":656},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/multiple-checkbox-select-in-laravel-microservice\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Store Multiple Records using Checkbox in Laravel?"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/00a5bea1933de2df743213c119a73645","name":"Rakesh K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g","caption":"Rakesh K"},"description":"Hi I am Rakesh Experienced Web Developer with a demonstrated history of working in the information technology and services industry.","url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/rakesh\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=6203"}],"version-history":[{"count":3,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6203\/revisions"}],"predecessor-version":[{"id":6223,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6203\/revisions\/6223"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=6203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=6203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=6203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}