{"id":28099124,"url":"https://github.com/stadgent/drupal_module_opening-hours","last_synced_at":"2026-02-27T23:08:42.267Z","repository":{"id":46769127,"uuid":"113562288","full_name":"StadGent/drupal_module_opening-hours","owner":"StadGent","description":"Drupal module that integrates the Opening Hours platform functionality.","archived":false,"fork":false,"pushed_at":"2025-05-09T13:30:46.000Z","size":276,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":9,"default_branch":"develop","last_synced_at":"2025-05-09T14:46:14.721Z","etag":null,"topics":["d09check22","web"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StadGent.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-12-08T10:26:47.000Z","updated_at":"2024-11-05T09:41:22.000Z","dependencies_parsed_at":"2024-10-24T14:45:04.262Z","dependency_job_id":"2b03fb4c-4ab0-44ac-90c1-addefac7a08a","html_url":"https://github.com/StadGent/drupal_module_opening-hours","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StadGent%2Fdrupal_module_opening-hours","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StadGent%2Fdrupal_module_opening-hours/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StadGent%2Fdrupal_module_opening-hours/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StadGent%2Fdrupal_module_opening-hours/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StadGent","download_url":"https://codeload.github.com/StadGent/drupal_module_opening-hours/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000278,"owners_count":21997424,"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":["d09check22","web"],"created_at":"2025-05-13T17:59:30.611Z","updated_at":"2026-02-27T23:08:37.206Z","avatar_url":"https://github.com/StadGent.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal Opening Hours module\n\nDrupal 9.4+ module that integrates the Opening Hours platform functionality.\n\nThis module allows to consume the [Opening Hours Platform] API to lookup\nservices, their channels and their opening hours data.\n\n[![Github][github-badge]][github-link]\n[![License][license-badge]][license-link]\n\n[![Build Status Master][travis-master-badge]][travis-master-link]\n[![Build Status Develop][travis-develop-badge]][travis-develop-link]\n[![Maintainability][codeclimate-maint-badge]][codeclimate-maint-link]\n[![Test Coverage][codeclimate-cover-badge]][codeclimate-cover-link]\n\n## Install\n\nInstall using composer:\n\nAdd the git source to the composer by editing the `composer.json` in the project\nroot and add following lines in the `repositories section:\n\n```json\n    \"repman-digipolis\": {\n        \"type\": \"composer\",\n        \"url\": \"https://digipolis.repo.repman.io\"\n    },\n    \"digipolis-gent/opening-hours-widget\": {\n        \"type\": \"package\",\n        \"package\": {\n            \"name\": \"drupal/opening-hours-widget\",\n            \"type\": \"drupal-library\",\n            \"version\": \"0.1.1\",\n            \"dist\": {\n                \"type\": \"zip\",\n                \"url\": \"https://github.com/StadGent/npm_package_opening-hours-widget/releases/download/0.1.1/opening-hours-widget.zip\"\n            }\n        }\n    }\n```\n\nInstall the module using composer:\n\n```bash\ncomposer require drupal/opening_hours\n```\n\nEnable the module:\n\n```bash\ndrush -y en opening_hours\n```\n\nConfigure the opening hours module and set the Opening Hours API url via\n`admin/admin/config/services/opening-hours`.\n\n## Usage\n\nAdding opening hours information to an entity is done by adding an opening hours\nfield.\n\nThe opening hours information is loaded via ajax requests to the opening hours\nbackend.\n\n## Synchronization\n\nThe opening hours information could be changed (service and channel label) or\ncould be removed from the opening hours backend. A drush command is available to\nsynchronization the data and to flag opening hours fields with broken links.\n\n- `drush opening-hours:sync all` : Synchronize all opening hours fields of all\n  entities where they are used.\n- `drush opening-hours:sync node_type` : Synchonize all opening hours fields of\n  all entities of the provided entity type.\n- `drush opening-hours:sync node_type:123` : Synchronize all opening hours\n  fields of the provided entity type and entity id.\n\nBroken links will be logged in the log.\n\nThere is an event that is triggered if a broken field is detected.\nSee `\\Drupal\\opening_hours\\Event\\FieldBrokenLinkEvent`\nand `\\Drupal\\opening_hours\\EventSubscriber\\FieldSubscriber`.\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed\nrecently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md)\nand [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email security [at] gent.be\ninstead of using the issue tracker. See [SECURITY](SECURITY.md)\n\n## Credits\n\n- [Stad Gent][link-author-stadgent]\n- [Digipolis Gent][link-author-digipolisgent]\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File][link-license] for more\ninformation.\n\n## Roadmap and issue queue notes\n\nThis project is created and maintained by Digipolis Gent. During active\ndevelopment, we use an internal issue tracker to guide/drive our development.\nBy working this way, we can link issues for other projects dependent on this\nproject, create cross-project boards, ... This allows our developers, project\nleads and business analysts to have a better overview than we can create on\nGithub. This means that our roadmap won't be visible on here (for now).\n\nWe still look at the issue queue here and off course we welcome pull requests\nwith open arms! We are committed to creating and maintaining open source\nprojects. Questions about our approach can be asked through the issue queue\n(except for security issues).\n\n\n[link-author-stadgent]: https://github.com/stadgent\n[link-author-digipolisgent]: https://github.com/digipolisgent\n[link-contributors]: ../../contributors\n[Opening Hours platform]: https://github.com/StadGent/laravel_site_opening-hours\n\n[github-badge]: https://img.shields.io/badge/github-StadGent_Opening_Hours-blue.svg?logo=github\n[github-link]: https://github.com/StadGent/drupal_module_opening-hours\n[license-badge]: https://img.shields.io/github/license/StadGent/drupal_module_opening-hours.svg?style=flat-square\n[license-link]: LICENSE.md\n\n[travis-master-badge]: https://api.travis-ci.com/StadGent/drupal_module_opening-hours.svg?branch=8.x-1.x \"Travis build master\"\n[travis-master-link]: https://travis-ci.com/github/StadGent/drupal_module_opening-hours/branches\n[travis-develop-badge]: https://api.travis-ci.com/StadGent/drupal_module_opening-hours.svg?branch=8.x-1.x-dev \"Travis build develop\"\n[travis-develop-link]: https://travis-ci.com/github/StadGent/drupal_module_opening-hours/branches\n\n[codeclimate-maint-badge]: https://api.codeclimate.com/v1/badges/b91a9d4708dae2596c04/maintainability\n[codeclimate-maint-link]: https://codeclimate.com/github/StadGent/drupal_module_opening-hours/maintainability\n[codeclimate-cover-badge]: https://api.codeclimate.com/v1/badges/b91a9d4708dae2596c04/test_coverage\n[codeclimate-cover-link]: https://codeclimate.com/github/StadGent/drupal_module_opening-hours/test_coverage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstadgent%2Fdrupal_module_opening-hours","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstadgent%2Fdrupal_module_opening-hours","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstadgent%2Fdrupal_module_opening-hours/lists"}