{"id":21618646,"url":"https://github.com/hpez/persian-cal-events","last_synced_at":"2025-04-11T08:41:34.142Z","repository":{"id":56986124,"uuid":"199475013","full_name":"hpez/persian-cal-events","owner":"hpez","description":"A PHP library for persian (jalali) calendar events.","archived":false,"fork":false,"pushed_at":"2019-08-02T16:57:09.000Z","size":65,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T06:12:02.820Z","etag":null,"topics":["calendar","holiday-calculation","holidays","jalali","jalali-calendar","php"],"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/hpez.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-07-29T15:03:32.000Z","updated_at":"2023-03-17T11:04:18.000Z","dependencies_parsed_at":"2022-08-21T10:10:13.449Z","dependency_job_id":null,"html_url":"https://github.com/hpez/persian-cal-events","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/hpez%2Fpersian-cal-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpez%2Fpersian-cal-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpez%2Fpersian-cal-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpez%2Fpersian-cal-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hpez","download_url":"https://codeload.github.com/hpez/persian-cal-events/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248362398,"owners_count":21091117,"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":["calendar","holiday-calculation","holidays","jalali","jalali-calendar","php"],"created_at":"2024-11-24T23:06:20.275Z","updated_at":"2025-04-11T08:41:34.101Z","avatar_url":"https://github.com/hpez.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Persian Calendar Events [![codecov](https://codecov.io/gh/hpez/persian-cal-events/branch/master/graph/badge.svg)](https://codecov.io/gh/hpez/persian-cal-events) [![Build Status](https://travis-ci.org/hpez/persian-cal-events.svg?branch=master)](https://travis-ci.org/hpez/persian-cal-events)\n\nThis package aims to provide events for Persian calendar (jalali) crawling time.ir and using [morilog/jalali](https://github.com/morilog/jalali) for conversion.\n\n## Features\n\n* Indicates holidays\n* Events in that day\n* Supports both jalali and gregorian\n* Indicates if an event is due to religious reasons\n\n## Installation\n    composer require hpez/persian-cal-event\n\n## Usage\n    PersianCalEvent::jalali(1398, 1, 1);\n    /*\n    {\n        \"is_holiday\": true,\n        \"events\": [\n            {\n                \"description\": \"جشن نوروز/جشن سال نو\",\n                \"additional_description\": \"\",\n                \"is_religious\": false\n            }\n        ]\n    } \n    */\n    \n    PersianCalEvent::gregorian(2019, 8, 12);\n    PersianCalEvent::gregorian(new Carbon('2019-08-12'));\n    /*\n    {\n        \"is_holiday\": true,\n        \"events\": [\n            {\n                \"description\": \"عید سعید قربان\",\n                \"additional_description\": \"١٠ ذوالحجه\",\n                \"is_religious\": true\n            }\n        ]\n    }\n    */\n \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpez%2Fpersian-cal-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhpez%2Fpersian-cal-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpez%2Fpersian-cal-events/lists"}