Skip to content

ofahel/vCard2JSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Simple PHP vCard to JSON

oFahel

Warning: Project not rigorously tested!

🎉 Installation/Usage

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();

?>

Development

Want to contribute? Great! You are welcome 🥳

License

GNU General Public License