Download the PHP package elouafidev/vcf-generator without Composer
On this page you can find all versions of the php package elouafidev/vcf-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elouafidev/vcf-generator
More information about elouafidev/vcf-generator
Files in elouafidev/vcf-generator
Package vcf-generator
Short Description A simple VCF generator for Laravel.
License MIT
Informations about the package vcf-generator
VCF Generator for Laravel
A simple VCF (vCard) generator for Laravel. This package provides an easy way to generate VCF files for contacts in your Laravel applications. It supports adding various contact details such as full name, email addresses, phone numbers, addresses, social media profiles, and more.
Installation
You can install the package via composer:
Usage
Here is a simple example of how to use the VCF generator in your Laravel project:
Methods
setFullName(string $full_name): selfsetEmail(string $email, string $type): selfsetPhoneNumber(string $phone, string $type): selfsetAddress(string $address): selfsetTitle(string $title): selfsetDescription(string $description): selfsetProfileImage150x150(string $profile_image_150x150): selfsetFacebook(string $url): selfsetTwitter(string $url): selfsetLinkedin(string $url): selfsetYoutube(string $url): selfsetInstagram(string $url): selfsetWebsite(string $url): selfsetSkype(string $url): selfvcfContent(): stringtoBase64(): stringtoUri(): stringdownload()validateEmail(string $email): boolvalidatePhoneNumber(string $phone): boolclear(): selfsetAttributes(array $attributes): self
Examples
Generate VCF Content
Get VCF as Base64
Get VCF as Data URI
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.
Author
Mouad Elouafi
- Email: [email protected]