Adds importing feature (can import from Laravel Disks, local files, strings or resources)
In the exporting feature, adds new method "stream" to retrieve the exported content as a PHP stream
Improved coverage of unit tests
Break change:
It is required to change the importing namespace:
// v1.0 (old)
use Vitorccs\LaravelCsv\Concerns\Exportable;
use Vitorccs\LaravelCsv\Concerns\FromArray;
use Vitorccs\LaravelCsv\Concerns\FromCollection;
use Vitorccs\LaravelCsv\Concerns\FromQuery;
// v2.0 (new)
use Vitorccs\LaravelCsv\Concerns\Exportables\Exportable;
use Vitorccs\LaravelCsv\Concerns\Exportables\FromArray;
use Vitorccs\LaravelCsv\Concerns\Exportables\FromCollection;
use Vitorccs\LaravelCsv\Concerns\Exportables\FromQuery;
v2.0
Break change:
It is required to change the importing namespace: