Warning: Project not rigorously tested!
Download the vcard.php and put on your project folder.
<?php
include("vcard.php");
//vCard content can be placed on initialization or method usage
//Instantiate the library, optionally pass your vCard content
$vCard = new vCard2JSON(_your_vCard_content);
//Get JSON from vCard, optionally pass your vCard content
$json = $vCard->getJSON();
?>
Want to contribute? Great! You are welcome 🥳
GNU General Public License