jeroendesloovere / vcard-bundle

A Symfony2 bundle for creating vCards.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Symfony2 bundle for creating vCards.

License:MIT License


Languages

Language:PHP 100.0%