vcard
vcard copied to clipboard
This vCard PHP library can easily parse or generate/export vCards as .vcf
FN is mandatory, so if we want to parse, we need to check its existence
In https://github.com/andig/carddav2fb/blob/master/src/Vcard/Parser.php#L259 we need to parse additional elements generated by AVM Fritz!Boxes. Currently, since `parse()` is such a monster function it is not extensible without basically duplicating the entire code....
Hello There's a way to get a list of contacts on one vcard?
Seems this is currently not supported: https://tools.ietf.org/html/rfc6350#section-3.4
…pp expects a list like that: "type=PREF;type=WORK;type=FAX". To be compatible to this format, I added a little bit of code to transform it like that. According to the specs from...
I want to add a photo using addPhoto() to a VCard and doing that in the way of passing an URL to the method. This actually does a request to...
When adding a country field addAddress(), I noticed base64 encoding of photo being added in vcard. After the function call of `$vcard->addAddress(null, null, $vcard_street_address, $vcard_city, $vcard_state, $vcard_postal_code, $vcard_country);` I am...
Hello, giving the parser a file with contents such as this: BEGIN:VCARD VERSION:3.0 PRODID:-//Apple Inc.//Mac OS X 10.13//EN N:;;;; FN:Arzt Keitel-Stöckert ORG:Arzt Keitel-Stöckert; item1.TEL;type=pref:0521 891775 item1.X-ABLabel:HOME\,VOICE\,pref ADR;type=WORK;type=pref:;;Apfelstraße 56;Bielefeld;;33613; NOTE:MO –...
Somebody had errors using addMedia() and "file_get_contents()" (#75) So maby we should add a fallback like in [this example](https://en.code-bude.net/2013/08/14/php-workaround-how-to-use-file_get_contents-without-allow_url_fopen/)
Here's the code I use for test: ```