PHP / CSV Creation - mongo / goodby/csv or league/csv

  • Posted:
  • Proposals: 2
  • Remote
  • #1610042
  • Awarded
Umar B.
Mukesh Y. have already sent a proposal.
  • 0

Description

Experience Level: Expert
Estimated project duration: 1 day or less
General information for the website: General Dev
Description of requirements/features: Tech - PHP, MongoDB (latest) paired with mongodb/mongodb mongodb library. Prefer to use goodby or league for CSV manip.

Requirement : Using PHP I need a method/class to iterate over a mongo collection, create a CSV, write file to server.

There are a couple of tricky points:

1: Export could be quite large (50-100K rows) so we can't just suck the whole thing into an array - memory management is vital. Speed however is less important - if there's a tradeoff between speed and memory - favour memory.

2: Because we're coming out of mongo - fields may vary from row to row. For the final file, the order of fields doesn't matter, but we must ensure (obviously) that if field "name" is in column 1, it's always in column 1

We can discuss more in chat.
Extra notes:

New Proposal

Create an account now and send a proposal now to get this project.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.