remind/businesscard
最新稳定版本:2.1.0
Composer 安装命令:
composer require remind/businesscard
包简介
This library provides an object oriented aproach for generating vCard files
README 文档
README
This library provides an object oriented aproach for generating vCard files.
DESCRIPTION
Because of the new reserved keyword fn in PHP 7.4 this library currently
does not offer support for this PHP version.
vCard
This implementation is incomplete at the moment as not all fields and parameters of the vCard rfc6350 are fully implemented.
Supports v2.1, 3.0 and 4.0 for all elements.
xCard
Implementation pending.
jCard
Implementation pending.
hCard
Implementation pending.
HOW TO USE
<?php use Remind\BusinessCard\VCard; use Remind\BusinessCard\Property\Func; use Remind\BusinessCard\Property\N; use Remind\BusinessCard\Property\Version; $version = new Version(); $version->setVersion(Version::VERSION_4_0); $vCard = new VCard($version); $n = new N(); $n->setGivenName('John'); $n->setFamilyName('Doe'); $fn = new Func('John Doe'); $vCard->addProperty($n); $vCard->addProperty($fn); echo $vCard;
统计信息
- 总下载量: 891
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2020-10-23