My 2 cents, I just did it today:
DB::table('my_table')->get()->map(fn($item) => (array) $item)->toArray();
This will return an array of rows, where each row is an array itself.