audriga/jmap-icalendar_vcard
Composer 安装命令:
composer require audriga/jmap-icalendar_vcard
包简介
Converts between iCalendar and JSCalendar or between vCard and JSContact
关键字:
README 文档
README
The JMAP iCalendar/vCard library extends openxport-jmap with the ability to convert between iCalendar and JSCalendar as well as vCard and JSContact.
It should be simple for consumers to migrate from another service to your service and vice versa. OpenXPort makes it easy to expose a RESTful API Endpoint for data portability. It is built on top of the interoperable protocol JMAP, which already supports a wide variety of data types and can be extended for more.
This library currently aims to implement the following specifications:
- JSCalendar: Converting from and to iCalendar draft-ietf-calext-jscalendar-icalendar
- JSContact: Converting from and to vCard draft-ietf-calext-jscontact-vcard
OpenXPort is built with compatibility for older systems in mind. We support all PHP versions down to 5.6 to provide data portability even for older systems.
Installation
Local installation
- Run
maketo initialize the project. It uses your local PHP version with most current dependencies (currently PHP 8.2). Use other build targets (e.g.make php70_mode) instead, in case you need to build for a different version.
Usage
Standalone
Will be supported in a future version.
Usage in openxport-jmap
This library provides Adapters and Mappers specific to openxport-jmap. There are different versions of adapters and mappers to choose from:
- Those aiming to be fully compliant with above's IETF specs (e.g.
JSCalendarICalendarAdapter) - System-specific adaptions to the conversion (e.g.
NextcloudJSContactVCardAdapter)
They can be included in OpenXPort projects the usual way:
$adapters = array( "Cards" => new \OpenXPort\Adapter\NextcloudJSContactVCardAdapter() ... $mappers = array( "Cards" => new \OpenXPort\Mapper\JSContactVCardMapper(), ...
Development
Installation
- Run
makeor one of the targets for old PHP versions above. - Run
make updateto update dependencies and make development tools available
Tests
To run all tests run make fulltest. This requires Podman
(for Static Analysis).
You can also run them separately:
- Static Analysis via
make lint - Unit Tests via
make unit_test
audriga/jmap-icalendar_vcard 适用场景与选型建议
audriga/jmap-icalendar_vcard 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 24 次下载、GitHub Stars 达 2, 最近一次更新时间为 2024 年 02 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「groupware」 「jmap」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 audriga/jmap-icalendar_vcard 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 audriga/jmap-icalendar_vcard 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 audriga/jmap-icalendar_vcard 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Lightweight Open Source webmail written in PHP and JavaScript
EGroupware extends a classic groupware with an integrated CRM-system, a secure file-server and Collabora Online Office.
Type-safe PHP client for JMAP mail, calendar, contacts, files, and tasks APIs
Provides JMAP support to existing PHP-based systems, in the context of the OpenXPort project
Just a test
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 25
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-01