Skip to content

This PHP script can convert a CSV file containing an export of contacts from mobile phone to a single VCF file

Notifications You must be signed in to change notification settings

artifex404/csv-to-vcf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV-to-VCF

CSV-to-VCF is a simple PHP script that converts a CSV file containing an export of contacts (from a mobile phone for example) to a single VCF file.

Requirements

PHP and Composer.

Installation

$ git clone https://github.com/artifex404/csv-to-vcf.git
$ cd csv-to-vcf
$ composer install

Usage

Your CSV file should have the format provided in sample.csv file. Otherwise, you will need to edit the column indexes of data in csv-to-vcf.php starting on line 34.

To convert your CSV file to a VCF file, copy your CSV file to the project and name it contacts.csv run:

$ php csv-to-vcf.php

Your VCF file contacts.vcf will be created.

About

This PHP script can convert a CSV file containing an export of contacts from mobile phone to a single VCF file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages