{"id":21070648,"url":"https://github.com/wisembly/calendart","last_synced_at":"2025-07-01T14:35:22.235Z","repository":{"id":19852771,"uuid":"23115090","full_name":"Wisembly/CalendArt","owner":"Wisembly","description":"Single unified interface for multiple calendar providers (currently only GCalendar is supported)","archived":false,"fork":false,"pushed_at":"2015-02-09T16:30:57.000Z","size":560,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-03T20:37:36.672Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wisembly.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":"2014-08-19T15:20:32.000Z","updated_at":"2015-02-09T16:30:29.000Z","dependencies_parsed_at":"2022-08-24T14:09:30.263Z","dependency_job_id":null,"html_url":"https://github.com/Wisembly/CalendArt","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wisembly%2FCalendArt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wisembly%2FCalendArt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wisembly%2FCalendArt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wisembly%2FCalendArt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wisembly","download_url":"https://codeload.github.com/Wisembly/CalendArt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254473835,"owners_count":22077183,"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-19T18:47:44.003Z","updated_at":"2025-05-16T05:30:53.781Z","avatar_url":"https://github.com/Wisembly.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"CalendArt\n=========\n\u003c!-- BADGES HERE WHEN IT SHALL BE OPENED ! //--\u003e\nInterface to handle all your calendars through an unified API, whatever their\nsource are (Google, Office 365, ... etc), as if it was an art. Hell yeah.\n\n**Only google calendar is currently supported !**\n\nInstallation\n============\nYou have multiple ways to install CalendArt. If you are unsure what to do, go with\n[the archive release](#archive-release).\n\n### Archive Release\n1. Download the most recent release from the [release page](https://github.com/Wisembly/CalendArt/releases)\n2. Unpack the archive\n3. Move the files somewhere in your project\n\n### Development version\n1. Install Git\n2. `git clone git://github.com/Wisembly/CalendArt.git`\n\n### Via Composer\n1. Install composer in your project: `curl -s http://getcomposer.org/installer | php`\n2. Create a `composer.json` file (or update it) in your project root:\n\n    ```javascript\n\n      {\n        \"require\": {\n          \"wisembly/calendArt\": \"~1.0\"\n        }\n      }\n    ```\n\n3. Install via composer : `php composer.phar install`\n\nBasic Usage\n===========\nAs there is only Google's adapter, we're going to base these examples on this\none. But it should be similar to the others one, as long as they respect the\ninterface provided in this package.\n\n```php\n\u003c?php\n\nuse CalendArt\\Adapter\\Google\\GoogleAdapter,\n    CalendArt\\Adapter\\Google\\Util\\OAuth2Token;\n\n$oauth = new OAuth2Token('your-oauth2-token', 'Bearer', 3600); // You can get a OAuth2 token on google's oauth playground\n$adapter = new GoogleAdapter($oauth);\n\n$primary = $adapter-\u003egetCalendarApi()-\u003eget('primary'); // there is always a \"primary\" calendar on Google\n$event   = $adapter-\u003egetEventApi($primary)-\u003egetList();\n\nvar_dump($primary); // Should dump a Calendar instance, with its hydrated events\n```\n\nRunning Tests\n=============\n```console\n$ php composer.phar install --dev\n$ bin/phpunit\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisembly%2Fcalendart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisembly%2Fcalendart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisembly%2Fcalendart/lists"}