TIP 56 / 100

A Simple Way to Seed a Database.

A simple way to seed a database in Laravel with a .sql dump file

php
DB::unprepared(
    file_get_contents(__DIR__ . './dump.sql')
);