title: Is multi-threading possible in laravel 5.5?
body: <p>I am new to laravel and php. I am working on a problem to insert a large data into database, which takes a lot of time. So I was thinking to divide the data into chunks and create multiple threads to insert those chunks of data. I am using php 7.2.4 and my laravel 5.5.
  Here is my code:</p>
  
  <p><code>$row = 1;
              $contactNumberList = [];
              if (($handle = fopen($path . "/" . $fileName . "." . $fileExt ."", "r")) !== FALSE) {
                  while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
                      $row++;
                      $contact_number = $this-&gt;filter_contact($data[0]);
                      if($contact_number != null){
                          $contactNumberList[] = ['contact_number' =&gt; $contact_number];
                      }
                  }
                  fclose($handle);
              }
              //insert records
              \DB::table('contacts_'. $list_id)-&gt;insert($contactNumberList);</code></p>