heartsentwined/zf2-vcard

Work with Vcards in a ZF2 app.

v0.4.3 2016-07-06 12:27 UTC

This package is not auto-updated.

Last update: 2024-03-16 10:48:44 UTC


README

Build Status

Work with Vcards in a ZF2 app.

Installation

Composer:

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

Then add Yalesov\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/Yalesov/Vcard/Entity/Mapping.