PHPackages                             seec/vcard - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. seec/vcard

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

seec/vcard
==========

This VCard PHP class can generate a vCard with some data. When using an iOS device it will export as a .ics file because iOS devices don't support the default .vcf files.

8.3.1(2y ago)07.4k↓50%MITPHPPHP ^8.1

Since Jan 8Pushed 2y agoCompare

[ Source](https://github.com/nopenopenope/vcard)[ Packagist](https://packagist.org/packages/seec/vcard)[ Docs](https://github.com/nopenopenope/vcard)[ RSS](/packages/seec-vcard/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (7)Versions (6)Used By (0)

VCard PHP library
=================

[](#vcard-php-library)

[![Latest Stable Version](https://camo.githubusercontent.com/85a0c938207abc2238143f3190aa925314512a7658532225acbd290bf607fbc6/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736565632f76636172642e737667)](https://packagist.org/packages/seec/vcard)[![License](https://camo.githubusercontent.com/5a911ddcd16b9110e7821386ffd8d637005a8b856c14a3c0861b955e91da4eba/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d6c69676874677265792e737667)](https://github.com/jeroendesloovere/vcard/blob/master/LICENSE)[![Test Pipeline](https://github.com/nopenopenope/vcard/actions/workflows/ci.yaml/badge.svg)](https://github.com/nopenopenope/vcard/actions/workflows/ci.yaml)

This VCard PHP library can generate a vCard with some data. When using an iOS device &lt; iOS 8 it will export as a .ics file because iOS devices don't support the default .vcf files.

Usage
-----

[](#usage)

### Installation

[](#installation)

```
composer require seec/vcard
```

This will install the latest version of vcard with [Composer](https://getcomposer.org)

### Example

[](#example)

> [View all examples](/examples/example.php) or check [the VCard class](/src_/VCard.php).

### Parsing examples

[](#parsing-examples)

The parser can either get passed a VCard string, like so:

```
// load VCardParser classes
use SEEC\VCard\VCardParser;

$parser = new VCardParser($vcardString);
echo $parser->getCardAtIndex(0)->fullname; // Prints the full name.
```

Or by using a factory method with a file name:

```
$parser = VCardParser::parseFromFile('path/to/file.vcf');
echo $parser->getCardAtIndex(0)->getName(); // Prints the full name.
```

> [View the parsing example](/examples/example_parsing.php) or check the [the VCardParser class](/src_/VCardParser.php)class.

Documentation
-------------

[](#documentation)

The goal is to use no comments at all in the code. Since this is a fork, some things might not be as straight forward as one could wish for. Feel free to refactor old stuff and add it via a new PR!

More info on how to work with GitHub on help.github.com.

### Development

[](#development)

In order to run the development instance of this repository, you can very easily utilize the shipped docker-compose package.

```
docker compose up --build
```

Afterwards you will have an instance with PHP8.2q running that you can use to develop your changes. Xdebug is enabled by default, so you can use your IDE to debug the code.

Credits
-------

[](#credits)

- [Jeroen Desloovere](https://github.com/jeroendesloovere)
- [Maximilian Graf Schimmelmann](https://www.schimmelmann.org)
- [All Contributors](https://github.com/jeroendesloovere/vcard/contributors)

License
-------

[](#license)

The module is licensed under [MIT](./LICENSE.md). In short, this license allows you to do everything as long as the copyright statement stays present.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 74.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

861d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ecc09b9aec2e66ff72e4e7f5565a150845eb4a47935ecfdeb81725cd392be60?d=identicon)[bytes-commerce](/maintainers/bytes-commerce)

---

Top Contributors

[![jeroendesloovere](https://avatars.githubusercontent.com/u/588616?v=4)](https://github.com/jeroendesloovere "jeroendesloovere (211 commits)")[![wadmiraal](https://avatars.githubusercontent.com/u/745643?v=4)](https://github.com/wadmiraal "wadmiraal (13 commits)")[![bytes-max](https://avatars.githubusercontent.com/u/6654389?v=4)](https://github.com/bytes-max "bytes-max (12 commits)")[![Synchro](https://avatars.githubusercontent.com/u/81561?v=4)](https://github.com/Synchro "Synchro (7 commits)")[![h44z](https://avatars.githubusercontent.com/u/1370804?v=4)](https://github.com/h44z "h44z (5 commits)")[![stephanvierkant](https://avatars.githubusercontent.com/u/601833?v=4)](https://github.com/stephanvierkant "stephanvierkant (5 commits)")[![therouv](https://avatars.githubusercontent.com/u/393419?v=4)](https://github.com/therouv "therouv (3 commits)")[![tomandersen](https://avatars.githubusercontent.com/u/221405?v=4)](https://github.com/tomandersen "tomandersen (3 commits)")[![Lidbetter](https://avatars.githubusercontent.com/u/6525616?v=4)](https://github.com/Lidbetter "Lidbetter (3 commits)")[![christianruhstaller](https://avatars.githubusercontent.com/u/13237645?v=4)](https://github.com/christianruhstaller "christianruhstaller (2 commits)")[![Jako](https://avatars.githubusercontent.com/u/148371?v=4)](https://github.com/Jako "Jako (2 commits)")[![mgrundkoetter](https://avatars.githubusercontent.com/u/1526725?v=4)](https://github.com/mgrundkoetter "mgrundkoetter (2 commits)")[![Stadly](https://avatars.githubusercontent.com/u/7263579?v=4)](https://github.com/Stadly "Stadly (2 commits)")[![claudusd](https://avatars.githubusercontent.com/u/3321326?v=4)](https://github.com/claudusd "claudusd (2 commits)")[![yuks](https://avatars.githubusercontent.com/u/2283558?v=4)](https://github.com/yuks "yuks (1 commits)")[![bartgloudemans](https://avatars.githubusercontent.com/u/411451?v=4)](https://github.com/bartgloudemans "bartgloudemans (1 commits)")[![ch-feedbackpeople](https://avatars.githubusercontent.com/u/40589559?v=4)](https://github.com/ch-feedbackpeople "ch-feedbackpeople (1 commits)")[![fetchandadd](https://avatars.githubusercontent.com/u/15845152?v=4)](https://github.com/fetchandadd "fetchandadd (1 commits)")[![joshk](https://avatars.githubusercontent.com/u/8701?v=4)](https://github.com/joshk "joshk (1 commits)")[![LordSimal](https://avatars.githubusercontent.com/u/9105243?v=4)](https://github.com/LordSimal "LordSimal (1 commits)")

---

Tags

phpgeneratorvCardvcf

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/seec-vcard/health.svg)

```
[![Health](https://phpackages.com/badges/seec-vcard/health.svg)](https://phpackages.com/packages/seec-vcard)
```

###  Alternatives

[jeroendesloovere/vcard

This VCard PHP class can generate a vCard with some data. When using an iOS device it will export as a .ics file because iOS devices don't support the default .vcf files.

5193.6M12](/packages/jeroendesloovere-vcard)[jeroendesloovere/vcard-bundle

This Symfony 2 bundle can generate vCards with lots of data. When using an &lt; iOS 7 device it will export as a .ics file because iOS devices don't support the default .vcf files.

1677.3k3](/packages/jeroendesloovere-vcard-bundle)[tomloprod/radiance

A deterministic mesh gradient avatar generator for PHP.

1393.7k](/packages/tomloprod-radiance)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
