Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ A fluent builder class for vCard files.
You can install the package via composer:

```bash
composer require astrotomic/laravel-vcard
composer require kepsondiaz/laravel-vcard
```

## Usage
Expand Down
11 changes: 5 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astrotomic/laravel-vcard",
"description": "A fluent builder class for vCard files.",
"name": "kepsondiaz/laravel-vcard",
"description": "A fluent builder class for vCard files. Work for android and iOS devise",
"license": "MIT",
"type": "library",
"keywords": [
Expand All @@ -12,13 +12,12 @@
],
"authors": [
{
"name": "Tom Witkowski",
"email": "[email protected]",
"homepage": "https://gummibeer.de",
"name": "Kepson Diaz",
"email": "[email protected]",
"role": "Developer"
}
],
"homepage": "https://github.com/Astrotomic/laravel-vcard",
"homepage": "https://github.com/Kepsondiaz/laravel-vcard",
"require": {
"php": "^8.0",
"astrotomic/php-conditional-proxy": "^0.2.1",
Expand Down
2 changes: 1 addition & 1 deletion src/Vcard.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function __toString(): string
{
return collect([
'BEGIN:VCARD',
'VERSION:4.0',
'VERSION:3.0',
"FN;CHARSET=UTF-8:{$this->getFullName()}",
$this->hasNameParts() ? "N;CHARSET=UTF-8:{$this->lastName};{$this->firstName};{$this->middleName};{$this->namePrefix};{$this->nameSuffix}" : null,
array_map('strval', $this->properties),
Expand Down