jeroendesloovere / vcard-bundle
This Symfony 2 bundle can generate vCards with lots of data. When using an < iOS 7 device it will export as a .ics file because iOS devices don't support the default .vcf files.
Installs: 73 118
Dependents: 4
Suggesters: 0
Security: 0
Stars: 16
Watchers: 4
Forks: 5
Open Issues: 2
Type:symfony-bundle
Requires
- php: >=5.3.3
- jeroendesloovere/vcard: ^1.5
Requires (Dev)
- symfony/framework-bundle: ~3.0
README
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();