{"id":13608091,"url":"https://github.com/bvanhoekelen/icalendar-php","last_synced_at":"2025-04-11T21:44:51.703Z","repository":{"id":62498540,"uuid":"167382721","full_name":"bvanhoekelen/icalendar-php","owner":"bvanhoekelen","description":"📆 Create easily a full iCalendar subscription service. Compatible with the best Calendar Apps, Laravel and Composer.","archived":false,"fork":false,"pushed_at":"2019-04-25T14:18:38.000Z","size":48,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-21T02:35:53.132Z","etag":null,"topics":["generator","icalendar","ics","laravel","parser","php","simple","subscription"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bvanhoekelen.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}},"created_at":"2019-01-24T14:41:03.000Z","updated_at":"2024-02-15T23:53:27.000Z","dependencies_parsed_at":"2022-11-02T12:15:47.873Z","dependency_job_id":null,"html_url":"https://github.com/bvanhoekelen/icalendar-php","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvanhoekelen%2Ficalendar-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvanhoekelen%2Ficalendar-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvanhoekelen%2Ficalendar-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvanhoekelen%2Ficalendar-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bvanhoekelen","download_url":"https://codeload.github.com/bvanhoekelen/icalendar-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487509,"owners_count":21112187,"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":["generator","icalendar","ics","laravel","parser","php","simple","subscription"],"created_at":"2024-08-01T19:01:24.186Z","updated_at":"2025-04-11T21:44:51.673Z","avatar_url":"https://github.com/bvanhoekelen.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# 📆 PHP iCalendar simple parser tool 🛠\n\n[![Hex.pm](https://img.shields.io/hexpm/l/plug.svg?maxAge=2592000\u0026style=flat-square)](https://github.com/bvanhoekelen/icalendar-php/blob/master/LICENSE)\n[![GitHub release](https://img.shields.io/github/release/bvanhoekelen/icalendar-php.svg?style=flat-square)](https://github.com/bvanhoekelen/icalendar-php/releases)\n[![Packagist](https://img.shields.io/packagist/dt/bvanhoekelen/icalendar-php.svg?style=flat-square)](https://packagist.org/packages/bvanhoekelen/icalendar-php)\n[![Github issues](https://img.shields.io/github/issues/bvanhoekelen/icalendar-php.svg?style=flat-square)](https://github.com/bvanhoekelen/icalendar-php/issues)\n```\ncomposer require bvanhoekelen/icalendar-php\n```\n\n## Highlight\n- Generate simpel ical sub\n\n## Example\n```php\n\u003c?php\n\nrequire_once('../vendor/autoload.php');\n\nuse Calendar\\Element\\Calendar;\nuse Calendar\\Type\\Location;\nuse Calendar\\Type\\Geo;\n\n$calender = (new Calendar())\n\t-\u003esetColor('#00A677')\n\t-\u003esetName('Custom name')\n\t-\u003esetDescription('Custom description')\n\t-\u003esetRefreshInterval('P1H')\n;\n\n// Add Event\n$calender-\u003enewEvent()\n\t-\u003esetDtStart(new DateTime('now'))\n\t-\u003esetDtEnd(new DateTime('+1 day'))\n\t-\u003esetDtStamp(new DateTime('now'))\n\t-\u003esetSummary('short summary of the event')\n\t-\u003esetDescription('full description of the event')\n\t-\u003esetUrl('https://www.google.nl')\n\t// Add Location\n\t-\u003esetLocationWizard(((new Location())\n\t\t-\u003esetTitle('Koninklijk Paleis Amsterdam')\n\t\t-\u003esetStreetAddress('Nieuwezijds Voorburgwal 147')\n\t\t-\u003esetZipCode('1012 RJ')\n\t\t-\u003esetCity('Amsterdam')\n\t\t-\u003esetCountry('Nederland')\n\t\t-\u003esetGeo(new Geo(52.373149,4.891342))\n\t))\n\t// Add organizer\n\t-\u003esetOrganizerWizard('Bart', 'exemple@gmail.com')\n\t// Add attended\n\t-\u003esetAttendee((new Attendee())\n\t\t-\u003ewizard(Attendee::PARTSTAT_ACCEPTED, 'Bart', 'exemple@gmail.com')\n\t)\n\t-\u003esetAttendee((new Attendee())\n\t\t-\u003ewizard(Attendee::PARTSTAT_ACCEPTED, 'Henk', 'exemple2@gmail.com')\n\t)\n\t// Add repeat\n\t-\u003esetRepeatRule((new RepeatRule(RepeatRule::FREQ_YEARLY))\n\t\t-\u003esetByDay(RepeatRule::BYDAY_TH)\n\t\t-\u003esetBySetPos(RepeatRule::BYSETPOS_FIRST)\n\t\t-\u003esetByMonth(RepeatRule::BYMONTH_NOV)\n\t\t-\u003esetCount(7)\n\t)\n;\n\n// Render to string with headers\necho $calender-\u003eserve();\n\n```\n\n[See more examples](https://github.com/bvanhoekelen/icalendar-php/tree/master/examples).\n\n# Help, docs and links\n- [Packagist](https://packagist.org/packages/bvanhoekelen/icalendar-php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvanhoekelen%2Ficalendar-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbvanhoekelen%2Ficalendar-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvanhoekelen%2Ficalendar-php/lists"}