Importing SQL Dump from File | Dibi
'sqlite', 'database' => 'data/sample.s3db', ]); $count = $dibi->loadFile('compress.zlib://data/sample.dump.sql.gz'); echo 'Number of SQL commands:', $count;