Download the PHP package sabsab43/vcard-fusion without Composer
On this page you can find all versions of the php package sabsab43/vcard-fusion. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sabsab43/vcard-fusion
More information about sabsab43/vcard-fusion
Files in sabsab43/vcard-fusion
Package vcard-fusion
Short Description This library can merges multiple vcard/vcf files with an occurrences search option.
License MIT
Homepage https://github.com/SabSab43/vcard-fusion
Informations about the package vcard-fusion
This script convert multiple vcard/vcf file sinto one.
You can choose if you want search occurrences or not.
Read this before use the script
Before start convertion, like with any other software, keep a save of your vcards files, especially if you use occurrences search option.
The occurrence search option will compare FN (or N depending on the vcard version) property, if you have two different contacts with same FN or N property, they will be merge.
for example, this two differents vcards with same name (FN property):
they will become
So make sure you have different names for your contacts if you don't want this result or disallow checking occurrences option.
Installation
Use composer to get the package
composer require sabsab43/vcard-fusion
It is vailable on Packagist: https://packagist.org/packages/sabsab43/vcard-fusion
Configuration
You just need to put this code in your controller
The VcardManager class constructor wait this POST request values
Searching occurrences and checking vcard versions are set by user. You need to specify this options in your form like in this example:
The script will return a new vcard file or print errors if it failed.