{"id":19752767,"url":"https://github.com/jrast/silverstripe-vcard","last_synced_at":"2025-09-20T11:38:50.889Z","repository":{"id":6061017,"uuid":"7286497","full_name":"jrast/silverstripe-vCard","owner":"jrast","description":"vCard parsing and exporting for Silverstripe","archived":false,"fork":false,"pushed_at":"2012-12-30T10:53:47.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T21:47:58.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jrast.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-22T14:25:27.000Z","updated_at":"2013-09-29T14:04:26.000Z","dependencies_parsed_at":"2022-07-07T15:10:44.212Z","dependency_job_id":null,"html_url":"https://github.com/jrast/silverstripe-vCard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrast%2Fsilverstripe-vCard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrast%2Fsilverstripe-vCard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrast%2Fsilverstripe-vCard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrast%2Fsilverstripe-vCard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrast","download_url":"https://codeload.github.com/jrast/silverstripe-vCard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241084324,"owners_count":19907093,"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":[],"created_at":"2024-11-12T02:49:57.535Z","updated_at":"2025-09-20T11:38:45.818Z","avatar_url":"https://github.com/jrast.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Silverstripe vCard Module\n\n## Usage\n### Loading data\nTo load a vCard file create a new `VCardParser` and set the path to the file:\n```php\n$vCards = new VCardParser('vcard/tests/Example3.0.vcf');\n```\nAllways use the VCardParser class to load the data from a file. Do not load data directly to a VCard Object as the data has to be escapped before processing.\n\nOnce loaded the data, you can access the cards within a foreach loop:\n```php\nforeach($vCards as $vCard) {\n  $vCard-\u003eProperty('N')-\u003eValue; // returns the value of the N Property\n  $vCard-\u003eProperty('TEL'); // Returns an array with all TEL Properties of the current vCard\n  $vCard-\u003eProperty('TEL', 'work'); // Returns an array with TEL Properties containing 'WORK' attribute\n  $vCard-\u003eProperty('A:TEL', 'home'); // returns an array with TEL Properties in the group 'A' and containing the 'WORK' attribute  \n}\n```\n\nWatch out: the key and the attributes are not case sensitive. The following lines will return the same:\n```php\n$vCard-\u003eProperty('TEL', 'work');\n$vCard-\u003eProperty('tel', 'WORK');\n```\n\nThe Group **IS** case sensitive! So be sure your filter matches the group exactly!\n\n\n## See also\n* vCard 2.1 and vCard 3.0 specifications: http://www.imc.org/pdi/pdiproddev.html\n* vCard 4.0 [RFC6350]: http://www.rfc-editor.org/rfc/pdfrfc/rfc6350.txt.pdf\n* vCard Extensions for Instant Messaging (IM): http://tools.ietf.org/html/rfc4770\n* vCard MIME Directory Profile: http://tools.ietf.org/html/rfc2426\n* A MIME Content-Type for Directory Information: http://tools.ietf.org/html/rfc2425\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrast%2Fsilverstripe-vcard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrast%2Fsilverstripe-vcard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrast%2Fsilverstripe-vcard/lists"}