{"id":16897706,"url":"https://github.com/endroid/calendar","last_synced_at":"2025-04-11T13:52:04.979Z","repository":{"id":56977725,"uuid":"39794862","full_name":"endroid/calendar","owner":"endroid","description":"Calendar reader / writer","archived":false,"fork":false,"pushed_at":"2025-01-28T21:33:47.000Z","size":87,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T10:05:26.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://endroid.nl/","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/endroid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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":"endroid"}},"created_at":"2015-07-27T19:55:38.000Z","updated_at":"2025-02-19T09:58:37.000Z","dependencies_parsed_at":"2023-11-07T13:38:47.256Z","dependency_job_id":"adbadbf3-2994-458d-a294-7bce40fb59fe","html_url":"https://github.com/endroid/calendar","commit_stats":{"total_commits":94,"total_committers":4,"mean_commits":23.5,"dds":0.06382978723404253,"last_synced_commit":"c468f13ad58920145f748f790ae5635cc85d053c"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fcalendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fcalendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fcalendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fcalendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endroid","download_url":"https://codeload.github.com/endroid/calendar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248411971,"owners_count":21099036,"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-10-13T17:39:23.042Z","updated_at":"2025-04-11T13:52:04.954Z","avatar_url":"https://github.com/endroid.png","language":"PHP","funding_links":["https://github.com/sponsors/endroid"],"categories":[],"sub_categories":[],"readme":"# Calendar\n\n*By [endroid](https://endroid.nl/)*\n\n[![Latest Stable Version](http://img.shields.io/packagist/v/endroid/calendar.svg)](https://packagist.org/packages/endroid/calendar)\n[![Build Status](https://github.com/endroid/calendar/workflows/CI/badge.svg)](https://github.com/endroid/calendar/actions)\n[![Total Downloads](http://img.shields.io/packagist/dt/endroid/calendar.svg)](https://packagist.org/packages/endroid/calendar)\n[![Total Downloads](http://img.shields.io/packagist/dm/endroid/calendar.svg)](https://packagist.org/packages/endroid/calendar)\n[![License](http://img.shields.io/packagist/l/endroid/calendar.svg)](https://packagist.org/packages/endroid/calendar)\n\nThis library helps reading and writing calendars from and to different formats. To this\nend each reader converts the source to a generic calendar representation which can in\nturn be written to any available calendar format using one of the available writers.\n\nNote: at this moment only read from Google Calendar is available.\n\n## Installation\n\nUse [Composer](https://getcomposer.org/) to install the library.\n\n``` bash\n$ composer require endroid/calendar\n```\n\n## Usage\n\n```php\n\u003c?php\n\nuse Endroid\\Calendar\\Reader\\IcalReader;\n\n$reader = new IcalReader();\n\n// Read from URL or path\n$calendar = $reader-\u003ereadFromUrl('https://domain/calendar.ics');\n$calendar = $reader-\u003ereadFromPath(__DIR__.'/calendar.ics');\n\n$dateStart = new \\DateTimeImmutable('2016-01-01');\n$dateEnd = new \\DateTimeImmutable('2016-12-31');\n\n$events = $calendar-\u003egetEvents($dateStart, $dateEnd);\n```\n\n## Versioning\n\nVersion numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibility\nbreaking changes will be kept to a minimum but be aware that these can occur.\nLock your dependencies for production and test your code when upgrading.\n\n## License\n\nThis bundle is under the MIT license. For the full copyright and license\ninformation please view the LICENSE file that was distributed with this source code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendroid%2Fcalendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendroid%2Fcalendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendroid%2Fcalendar/lists"}