{"id":23882607,"url":"https://github.com/kisphp/calendar-bundle","last_synced_at":"2025-02-23T01:24:25.486Z","repository":{"id":23001416,"uuid":"97913634","full_name":"kisphp/calendar-bundle","owner":"kisphp","description":"Symfony calendar","archived":false,"fork":false,"pushed_at":"2021-10-06T06:28:42.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-04T02:56:18.281Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"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/kisphp.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":"2017-07-21T06:25:04.000Z","updated_at":"2021-11-08T19:46:03.000Z","dependencies_parsed_at":"2022-07-27T03:47:11.525Z","dependency_job_id":null,"html_url":"https://github.com/kisphp/calendar-bundle","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kisphp%2Fcalendar-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kisphp%2Fcalendar-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kisphp%2Fcalendar-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kisphp%2Fcalendar-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kisphp","download_url":"https://codeload.github.com/kisphp/calendar-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240255614,"owners_count":19772655,"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":"2025-01-04T02:56:20.997Z","updated_at":"2025-02-23T01:24:25.466Z","avatar_url":"https://github.com/kisphp.png","language":"PHP","readme":"# Kisphp Calendar Bundle\n\n![example workflow](https://github.com/kisphp/calendar-bundle/actions/workflows/phpunit-run.yml/badge.svg)\n![example workflow](https://github.com/kisphp/calendar-bundle/actions/workflows/npm-run.yml/badge.svg)\n\n## Installation\n\n```bash\ncomposer require kisphp/calendar-bundle\n```\n\n## Usage\n\n```php\n\u003c?php\n\nuse Kisphp\\CalendarBundle\\Translations\\LangRo;\nuse Kisphp\\CalendarBundle\\Services\\Calendar;\n\n$translation = new LangRo();\n$calendar = new Calendar($translation);\n$calendar-\u003egenerateData($year, $month, date('d'));\n\n// get generated days as array\n$calendar-\u003egetDays();\n```\n\nAdd css to your page (Symfony)\n```html\n\u003clink href=\"bundles/calendar/css/calendar.css\" rel=\"stylesheet\" /\u003e \n```\n## Extend calendar\n\nHere is an example on how to make the callendar responsive.\nAll you have to do is to extend the scss file:\n\n```scss\n$column_width: 100%/7;\n$column_height: 35px;\n$font-size: 16px;\n$active_background: #369;\n$active_color: #fff;\n$col_border_width: 0;\n\n@import \"vendor/kisphp/calendar-bundle/gulp/assets/scss/calendar.scss\";\n\n.kisphp-calendar {\n\n  .col {\n    \u0026:hover {\n      background: #ccc;\n\n      .out {\n        color: #fff;\n      }\n    }\n\n    .active {\n      a {\n        color: #fff;\n      }\n    }\n    .day {\n      a {\n        font-weight: bold;\n\n        \u0026:hover {\n          color: #a30000;\n        }\n      }\n    }\n  }\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkisphp%2Fcalendar-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkisphp%2Fcalendar-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkisphp%2Fcalendar-bundle/lists"}