{"id":28368817,"url":"https://github.com/warcooft/dayoff","last_synced_at":"2026-03-02T19:36:16.997Z","repository":{"id":294435061,"uuid":"986936112","full_name":"warcooft/dayoff","owner":"warcooft","description":"Indonesian National Dayoffs is a simple and handy package to help you fetch and display public holiday information in your CodeIgniter 4 application.","archived":false,"fork":false,"pushed_at":"2025-05-26T08:03:43.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-12-18T11:24:05.514Z","etag":null,"topics":["codeigniter4","php8"],"latest_commit_sha":null,"homepage":"","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/warcooft.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-20T10:37:44.000Z","updated_at":"2025-05-26T08:04:42.000Z","dependencies_parsed_at":"2025-05-20T12:47:01.803Z","dependency_job_id":"1e0c7d83-e2ac-414f-b032-05a82a5b47d5","html_url":"https://github.com/warcooft/dayoff","commit_stats":null,"previous_names":["warcooft/dayoff"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/warcooft/dayoff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warcooft%2Fdayoff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warcooft%2Fdayoff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warcooft%2Fdayoff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warcooft%2Fdayoff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warcooft","download_url":"https://codeload.github.com/warcooft/dayoff/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warcooft%2Fdayoff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30016525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T17:00:27.440Z","status":"ssl_error","status_checked_at":"2026-03-02T17:00:03.402Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["codeigniter4","php8"],"created_at":"2025-05-29T05:07:53.418Z","updated_at":"2026-03-02T19:36:16.749Z","avatar_url":"https://github.com/warcooft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🇮🇩 Indonesian National Dayoffs\n\nIndonesian National Dayoffs is a simple and handy package to help you fetch and display public holiday information in your CodeIgniter 4 application.\n\n![CodeIgniter](https://img.shields.io/badge/CodeIgniter-%5E4.4.0-blue)\n![PHP Version Require](https://img.shields.io/badge/PHP-%5E8.0-blue)\n\n## Installation\n\nUse Composer to install the package:\n\n```\ncomposer require aselsan/dayoff dev-develop\n```\n\n## Migration\n\nRun the following migration to create the necessary database tables:\n\n```\nphp spark migrate --all\n```\n\n## Fetch Holiday Data\n\nTo scrape Indonesian public holiday data, use the custom CLI command:\n\n```\nphp spark scrap:dayoff --year 2025\n```\n\nOr simply run without the --year option to fetch holidays for the current year:\n\n```\nphp spark scrap:dayoff\n```\n\n## Available Methods\n\n```php\n\u003c?php\n\nservice('dayoff')-\u003enow();        // Check if today is a holiday\nservice('dayoff')-\u003eyesterday();  // Get holiday info for yesterday\nservice('dayoff')-\u003etomorrow();   // Get holiday info for tomorrow\nservice('dayoff')-\u003ethisWeek();   // Get holidays in the current week\nservice('dayoff')-\u003ethisMonth();  // Get holidays in the current month\nservice('dayoff')-\u003ethisYear();   // Get holidays in the current year\n```\n\n## Credit\n\nData is sourced from the awesome web at www.tanggalan.com. Terima kasih!\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarcooft%2Fdayoff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarcooft%2Fdayoff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarcooft%2Fdayoff/lists"}