Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Vcard Bundle

Vcard Bundle Laravel Package

spraed/vcard-bundle

Symfony bundle for creating and parsing vCard (VCF) files. It provides services and helpers to build electronic business cards from PHP objects, making it easy to export contacts for import into address books, phones, and other applications.

View on GitHub
Deep Wiki
Context7

Spraed VCardBundle integrates vCard handling into your Symfony application, letting you create and work with electronic business cards (.vcf) directly from your controllers and services. It wraps the underlying vCard library in a clean Symfony bundle, so contact data can be generated and served without writing low-level serialization code.

  • Generates standards-compliant vCard 3.0/4.0 output
  • Simple Symfony service integration via the bundle
  • Supports names, addresses, phone numbers, emails, and URLs
  • Easy to return .vcf responses for download or contact import
Frequently asked questions about Vcard Bundle
Can I use spraed/vcard-bundle in a Laravel application?
Not directly. It is a Symfony bundle built around Symfony dependency injection and FrameworkBundle conventions, not a Laravel package. You would need a compatibility layer or to extract the vCard generation logic. A Laravel-native exporter or a maintained PHP vCard library is usually a better fit.
How do I install spraed/vcard-bundle?
It is installed via Composer as spraed/vcard-bundle and registered as a Symfony bundle, typically in a Symfony application kernel. There is no Laravel package discovery or service provider. Laravel developers should not expect composer require to wire it into Laravel automatically.
Does spraed/vcard-bundle support vCard 3.0 or 4.0?
The technical assessment says it outputs vCard 2.1 only, which limits compatibility with modern consumers. If your product needs vCard 3.0 or 4.0, confirm the requirement and likely use a maintained library. Do not assume newer vCard support without inspecting the source.
Is spraed/vcard-bundle maintained?
No. It is archived, has 1 star, 0 dependents, and no release since 2019. That means no upstream fixes or security maintenance. Adopting it means forking, patching, and testing it internally.
What are alternatives to spraed/vcard-bundle for Laravel?
Evaluate maintained PHP vCard libraries and wrap them behind a Laravel service or application interface. If vCard 2.1 output is mandatory, a small internal exporter with characterization tests may be safer. Avoid vendoring the Symfony bundle directly into a Laravel app.
Is spraed/vcard-bundle safe for production?
The risk is high: stale PHP and Symfony compatibility, abandoned dependencies, no security maintenance, and unclear test coverage. Malformed output, incorrect escaping, broken line folding, encoding issues, and CRLF handling can break downstream imports. Treat it as a reference artifact, not a production dependency.
What vCard edge cases should I test if I use it?
Test escaping, line folding, character encoding, CRLF handling, and required vCard 2.1 fields. Also test representative contact data and downstream consumer imports. Characterization tests around expected output are essential before any extraction or rewrite.
Can I fork spraed/vcard-bundle and use its code in Laravel?
Possibly, but first verify license compatibility and inspect the serialization layer. The Symfony integration is not useful in Laravel, so you would extract only the vCard generation logic. You then own maintenance, tests, and security patching.
What PHP and Laravel versions does spraed/vcard-bundle support?
Assume weak compatibility with modern PHP and Laravel until proven otherwise. Validate Composer constraints, Symfony version assumptions, PHP 8.x behavior, and deprecation warnings. There is no stated Laravel version support because it is not a Laravel package.
Why is spraed/vcard-bundle a poor fit for Laravel?
It assumes Symfony dependency injection, bundle registration, and FrameworkBundle conventions, which conflict with Laravel's container and package discovery. Direct installation introduces framework coupling and testing friction. The migration path is extraction or rewrite, not direct dependency.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console