title: Laravel 5 retrieve checkbox array value
body: <p>I am creating project with laravel 5, i did store checkbox array value into table using below's code</p>
  
  <pre><code>$permission_id = Input::get('permission_id');
          if(is_array($permission_id))
          {
              $permission_id = implode(',', $permission_id);
  
          }
  
          $userpermissionlist-&gt;permission_id = $permission_id ;
  </code></pre>
  
  <p>it's stored value like 2,3,4 now i need to explode this value and selected checkbox value will be checked.. how can i do that..My view code is</p>
  
  <pre><code>{!! Form::checkbox('permission_id[]', $userpermission-&gt;id) !!}
  </code></pre>