insert
query
For example:
INSERT INTO `topwords` (`id`, `word`, `frequency`, `deleted`) VALUES
(1, 'the', 22038615, 0),
(2, 'be', 12545825, 0)
...
2) Add SQL file in a public folder or App/someFolderForSQLFiles
3) Use this in seeder
$path = base_path('public\topwords.sql');
$sql = file_get_contents($path);
DB::unprepared($sql);
Or this:
$path = 'app/someFolderForSQLFiles/topwords.sql';
DB::unprepared(file_get_contents($path));