Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.0 (importing feature) #12

Closed
vitorccs opened this issue Jul 19, 2024 · 1 comment
Closed

Version 2.0 (importing feature) #12

vitorccs opened this issue Jul 19, 2024 · 1 comment

Comments

@vitorccs
Copy link
Owner

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;
@vitorccs vitorccs changed the title Version 2.0 Version 2.0 (importing feature) Jul 19, 2024
@vitorccs
Copy link
Owner Author

Completed in #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant