jeroendesloovere / vcard

This vCard PHP library can easily parse or generate/export vCards as .vcf
https://packagist.org/packages/jeroendesloovere/vcard
MIT License
497 stars 193 forks source link

export many vCards in one file? #183

Closed cmette closed 2 years ago

cmette commented 3 years ago

is it possible to write many vCards in a single output stream and send them to the browser as ->download()? do you have a quick example? Greetings Christian

Rich-e-js commented 3 years ago

I'm also interested on this. I just simply tried to add another name and number, but i got an 'You can only set "name" once' error.

neuhaus commented 2 years ago

This issue appears to be a direct duplicate of issue #170

jeroendesloovere commented 2 years ago

vcard v2.0.0 will be able to handle this. Take a look at https://github.com/jeroendesloovere/vcard/tree/2.0.0-dev