Support the ongoing development of Laravel.io →
Database Eloquent Blade
Last updated 2 years ago.
0

how are you importing? using a foreach? or using a command to import the actual file?

0

Importing using a foreach row, I'm using inside a foreach method, using Model::create([.....])

0

For a very simple 'progress bar' you could do something like

 foreach($array as $a) {
      Model::create();
      echo '.';
 }
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Boufel boufel Joined 7 Sep 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.