Skip to content

Releases: vitorccs/laravel-csv

v2.0.0

19 Jul 22:47
d1a6a4a
Compare
Choose a tag to compare

v2.0

  • 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;

v1.0.1

19 Apr 17:54
Compare
Choose a tag to compare
add support to php 7.4

v1.1.0

12 Apr 16:17
31f0cff
Compare
Choose a tag to compare
Merge pull request #5 from vitorccs/feature/lazy_collection

add support for LazyCollections

v1.0.0

11 Jan 21:17
Compare
Choose a tag to compare
v1.0.0