This commit https://github.com/coderflexx/laravel-csv/commit/209cc877c303f31f16e088f12338acc2a61f639c removed <?php tag. And [this is not right](https://github.com/coderflexx/laravel-csv/pull/5#issuecomment-1262675562), according to @ousid. So I created Fix #5