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

Import to Model #5

Closed
rap2hpoutre opened this issue Apr 6, 2018 · 1 comment
Closed

Import to Model #5

rap2hpoutre opened this issue Apr 6, 2018 · 1 comment
Labels
enhancement New feature or request on hold

Comments

@rap2hpoutre
Copy link
Owner

rap2hpoutre commented Apr 6, 2018

ON HOLD. See: #13

Currently, it's possible to export from a collection or a model, but only possible to import to collection (not a model). It should be possible, just like this:

$users = (new FastExcel(User::class))->import('file.xlsx');

It should map all columns to existing attributes (declared in fillable property). See #6 for mapping attributes.

@rap2hpoutre rap2hpoutre added the enhancement New feature or request label Apr 6, 2018
@rap2hpoutre rap2hpoutre changed the title Import Model Import to Model Apr 6, 2018
@rap2hpoutre
Copy link
Owner Author

Done via #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request on hold
Projects
None yet
Development

No branches or pull requests

1 participant