{"id":18578343,"url":"https://github.com/astrotomic/laravel-vcard","last_synced_at":"2025-04-24T00:23:36.946Z","repository":{"id":53675111,"uuid":"341030229","full_name":"Astrotomic/laravel-vcard","owner":"Astrotomic","description":"A fluent builder class for vCard files.","archived":false,"fork":false,"pushed_at":"2024-06-10T11:33:20.000Z","size":216,"stargazers_count":50,"open_issues_count":6,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-19T06:42:02.821Z","etag":null,"topics":["contact","contacts","laravel","vcard","vcf"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Astrotomic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["Gummibeer","SarahSibert"],"issuehunt":"astrotomic","custom":["https://forest.astrotomic.info"]}},"created_at":"2021-02-21T23:49:39.000Z","updated_at":"2025-01-20T09:19:12.000Z","dependencies_parsed_at":"2022-09-01T16:12:10.704Z","dependency_job_id":"935ddda1-a422-4a94-b979-795286d11143","html_url":"https://github.com/Astrotomic/laravel-vcard","commit_stats":{"total_commits":61,"total_committers":10,"mean_commits":6.1,"dds":"0.42622950819672134","last_synced_commit":"3db264b7355c4a49c3875b1cf8353627a8922f41"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Flaravel-vcard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Flaravel-vcard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Flaravel-vcard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Flaravel-vcard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Astrotomic","download_url":"https://codeload.github.com/Astrotomic/laravel-vcard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250536447,"owners_count":21446734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contact","contacts","laravel","vcard","vcf"],"created_at":"2024-11-06T23:34:49.898Z","updated_at":"2025-04-24T00:23:36.921Z","avatar_url":"https://github.com/Astrotomic.png","language":"PHP","funding_links":["https://github.com/sponsors/Gummibeer","https://github.com/sponsors/SarahSibert","https://issuehunt.io/r/astrotomic","https://forest.astrotomic.info"],"categories":[],"sub_categories":[],"readme":"# Laravel vCard\n\n[![Latest Version](http://img.shields.io/packagist/v/astrotomic/laravel-vcard.svg?label=Release\u0026style=for-the-badge)](https://packagist.org/packages/astrotomic/laravel-vcard)\n[![MIT License](https://img.shields.io/github/license/Astrotomic/laravel-vcard.svg?label=License\u0026color=blue\u0026style=for-the-badge)](https://github.com/Astrotomic/laravel-vcard/blob/master/LICENSE)\n[![Offset Earth](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-green?style=for-the-badge)](https://plant.treeware.earth/Astrotomic/laravel-vcard)\n[![Larabelles](https://img.shields.io/badge/Larabelles-%F0%9F%A6%84-lightpink?style=for-the-badge)](https://www.larabelles.com/)\n\n[![phpunit](https://img.shields.io/github/workflow/status/Astrotomic/laravel-vcard/phpunit?style=flat-square\u0026logoColor=white\u0026logo=github\u0026label=Tests)](https://github.com/Astrotomic/laravel-vcard/actions?query=workflow%3Aphpunit)\n[![pint](https://img.shields.io/github/workflow/status/Astrotomic/laravel-vcard/pint?style=flat-square\u0026logoColor=white\u0026logo=github\u0026label=CS)](https://github.com/Astrotomic/laravel-vcard/actions?query=workflow%3Apint)\n[![Total Downloads](https://img.shields.io/packagist/dt/astrotomic/laravel-vcard.svg?label=Downloads\u0026style=flat-square)](https://packagist.org/packages/astrotomic/laravel-vcard)\n\nA fluent builder class for vCard files.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require astrotomic/laravel-vcard\n```\n\n## Usage\n\n```php\nuse Astrotomic\\Vcard\\Properties\\Email;\nuse Astrotomic\\Vcard\\Properties\\Gender;\nuse Astrotomic\\Vcard\\Properties\\Kind;\nuse Astrotomic\\Vcard\\Properties\\Tel;\nuse Astrotomic\\Vcard\\Vcard;\nuse Carbon\\Carbon;\n\nVcard::make()\n    -\u003ekind(Kind::INDIVIDUAL)\n    -\u003egender(Gender::MALE)\n    -\u003efullName('John Adam Smith')\n    -\u003ename('Smith', 'John', 'Adam')\n    -\u003eemail('john.smith@mail.com')\n    -\u003eemail('john.smith@company.com', [Email::WORK, Email::INTERNET])\n    -\u003etel('+1234567890', [Tel::HOME, Tel::VOICE])\n    -\u003etel('+0987654321', [Tel::WORK, Tel::VOICE])\n    -\u003etel('+0123456789', [Tel::CELL, Tel::VOICE])\n    -\u003eurl('https://johnsmith.com')\n    -\u003eurl('https://company.com')\n    -\u003ebday(Carbon::parse('1990-06-24'))\n    -\u003eadr('','','1600 Pennsylvania Ave NW', 'Washington', 'DC', '20500-0003', 'USA')\n    -\u003ephoto('data:image/jpeg;base64,'.base64_encode(file_get_contents(__DIR__.'/stubs/photo.jpg')))\n    -\u003etitle('V. P. Research and Development')\n    -\u003erole('Excecutive')\n    -\u003eorg('Google', 'GMail Team', 'Spam Detection Squad')\n    -\u003emember('john.smith@company.com', '550e8400-e29b-11d4-a716-446655440000')\n    -\u003enote('Hello world')\n;\n```\n\n```vcard\nBEGIN:VCARD\nVERSION:4.0\nFN;CHARSET=UTF-8:John Adam Smith\nN;CHARSET=UTF-8:Smith;John;Adam;;\nKIND:individual\nGENDER:M\nEMAIL;TYPE=INTERNET:john.smith@mail.com\nEMAIL;TYPE=WORK;TYPE=INTERNET:john.smith@company.com\nTEL;TYPE=HOME;TYPE=VOICE:+1234567890\nTEL;TYPE=WORK;TYPE=VOICE:+0987654321\nTEL;TYPE=CELL;TYPE=VOICE:+0123456789\nURL:https://johnsmith.com\nURL:https://company.com\nBDAY:1990-06-24\nADR;TYPE=WORK:;;1600 Pennsylvania Ave NW;Washington;DC;20500-0003;USA\nPHOTO;data:image/jpeg;base64,...\nTITLE:V. P. Research and Development\nROLE:Excecutive\nORG:Google;GMail Team;Spam Detection Squad\nMEMBER:urn:uuid:550e8400-e29b-11d4-a716-446655440000\nREV:2021-02-25T10:30:45.000000Z\nPRODID:-//Astrotomic vCard\nEND:VCARD\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrotomic%2Flaravel-vcard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrotomic%2Flaravel-vcard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrotomic%2Flaravel-vcard/lists"}