Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Work with Vcards in a ZF2 app.
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
src/Heartsentwined/Vcard
test
.gitignore
.travis.yml
Module.php
README.md
bootstrap.php
composer.json
vcard-spec

README.md

zf2-vcard

Build Status

Work with Vcards in a ZF2 app.

Installation

Composer:

{
    "require": {
        "heartsentwined/zf2-vcard": "dev-master"
    }
}

Then add Heartsentwined\Vcard to the modules key in (app root)/config/application.config.*

Vcard module will also hook onto your application's database, through DoctrineORMModule. It will create a number of tables with the prefix he_vcard_*, and will use the default EntityManager doctrine.entitymanager.orm_default. If your settings are different, please modify the doctrine section of config/module.config.yml as needed.

Finally, you need to update your database schema. The recommended way is through Doctrine's CLI:

$ vendor/bin/doctrine-module orm:schema-tool:update --force

Config

todo

Usage

todo

Working with Vcards

You can use the Doctrine 2 ORM API directly. Mapping files are located at (zf2-vcard)/src/Heartsentwined/Vcard/Entity/Mapping.

Something went wrong with that request. Please try again.