A Symfony2 bundle for creating vCards.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DependencyInjection
Resources/config
Tests/app
.gitignore
.travis.yml
JeroenDesloovereVCardBundle.php
LICENSE
README.md
composer.json
composer.lock
phpunit.xml.dist

README.md

VCardBundle

A Symfony2 bundle for creating vCards. Which uses the VCard class.

Usage

Installation

In composer.json

"require": {
    "jeroendesloovere/vcard-bundle": "1.0.*"
}

and in app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...,
        new JeroenDesloovere\Bundle\VCardBundle\JeroenDesloovereVCardBundle()
    );
}

Example

$vcard = $this->get('jeroendesloovere.vcard');

$vcard->addName('Jeroen', 'Desloovere');
$vcard->download();