heartsentwined / zf2-vcard
Work with Vcards in a ZF2 app.
v0.4.3
2016-07-06 12:27 UTC
Requires
- php: >=5.3.3
- sabre/vobject: 2.0.*
- yalesov/arg-validator: 2.*
- yalesov/date-time-parser: 2.*
- yalesov/utf8: 2.*
- yalesov/yaml: 2.*
- yalesov/zf2-doctrine: 2.*
- zendframework/zendframework: 2.*
Requires (Dev)
README
Work with Vcards in a ZF2 app.
Installation
{ "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
.