PHPackages                             stadgent/services-opening-hours - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. stadgent/services-opening-hours

ActiveLibrary[API Development](/categories/api)

stadgent/services-opening-hours
===============================

Package to access the Opening Hours API and wrap the responses in value objects.

2.1.0(3y ago)049.1k↓100%1MITPHPPHP ^7.4 || ^8.0

Since Dec 8Pushed 3y ago8 watchersCompare

[ Source](https://github.com/StadGent/php_package_services-opening-hours)[ Packagist](https://packagist.org/packages/stadgent/services-opening-hours)[ Docs](https://github.com/StadGent/php_package_services-opening-hours)[ RSS](/packages/stadgent-services-opening-hours/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (8)Dependencies (4)Versions (12)Used By (0)

Gent Services : Opening Hours
=============================

[](#gent-services--opening-hours)

[![Latest Stable Version](https://camo.githubusercontent.com/fb34ef961ad2421c349c5473282ff0d7232b5d5c5aeacdf4bbd6c21c6ea710e0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7374616467656e742f73657276696365732d6f70656e696e672d686f7572732e737667)](https://packagist.org/packages/stadgent/services-opening-hours)[![Latest Unstable Version](https://camo.githubusercontent.com/11bd20be53d3f1176536e1b1336c14ad67c3fdcf03fbd20caf8e129ad5b25ac1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f7374616467656e742f73657276696365732d6f70656e696e672d686f7572732e737667)](https://packagist.org/packages/stadgent/services-opening-hours)[![Total Downloads](https://camo.githubusercontent.com/b6ab7413061881429f39cd21cea292a516c96bec7f53098982cf40081ab1405c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7374616467656e742f73657276696365732d6f70656e696e672d686f7572732e737667)](https://packagist.org/packages/stadgent/services-opening-hours)[![License](https://camo.githubusercontent.com/37786bcec6fdc6248a157aee56cac63b1c1b64abc6b7ca4c5e5154fc1a123c1c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f5374616447656e742f7068705f7061636b6167655f73657276696365732d6f70656e696e672d686f7572732e737667)](LICENSE.md)

[![Build Status](https://camo.githubusercontent.com/584126bb3ed29d421d7440760288709dddb7fcf87c53e7b458828183e4979c3d/68747470733a2f2f6170702e7472617669732d63692e636f6d2f5374616447656e742f7068705f7061636b6167655f73657276696365732d6f70656e696e672d686f7572732e7376673f6272616e63683d646576656c6f70)](https://app.travis-ci.com/StadGent/php_package_services-opening-hours)[![Maintainability](https://camo.githubusercontent.com/03a4f61845f99e083c283a0aa93f285cdcbd9530e8bddaf657e5d96a8af17bb0/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38343437356230626364616530343436346464382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/StadGent/php_package_services-opening-hours/maintainability)[![Test Coverage](https://camo.githubusercontent.com/0653a74b02a1f676f3d0bacba4e605ed0d3fa2ea22d478931f0ec7b3612e480e/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38343437356230626364616530343436346464382f746573745f636f766572616765)](https://codeclimate.com/github/StadGent/php_package_services-opening-hours/test_coverage)

PHP package to access the Opening Hours API and wrap the responses in value objects.

This package allows to consume the [Opening Hours Platform](https://github.com/StadGent/laravel_site_opening-hours) API to lookup services, their channels and their opening hours data.

See [OpeningHours API documentation](https://developer.gent.be/docs/dataset?service_id=openingsuren_service) about the endpoints and how to get an API key to access the service.

Install
-------

[](#install)

Via Composer:

```
composer require stadgent/services-opening-hours
```

Usage
-----

[](#usage)

See the [code examples documentation](examples/README.md) included in this package.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

Run all tests:

```
vendor/bin/phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md)and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email security \[at\] gent.be instead of using the issue tracker. See [SECURITY](SECURITY.md)

Credits
-------

[](#credits)

- [Stad Gent](https://github.com/stadgent)
- [Digipolis Gent](https://github.com/digipolisgent)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Roadmap and issue queue notes
-----------------------------

[](#roadmap-and-issue-queue-notes)

This project is created and maintained by Digipolis Gent. During active development, we use an internal issue tracker to guide/drive our development. By working this way, we can link issues for other projects dependent on this project, create cross-project boards, ... This allows our developers, project leads and business analysts to have a better overview than we can create on Github. This means that our roadmap won't be visible on here (for now).

We still look at the issue queue here and off course we welcome pull requests with open arms! We are committed to creating and maintaining open source projects. Questions about our approach can be asked through the issue queue (except for security issues).

[![Test Coverage](https://camo.githubusercontent.com/0653a74b02a1f676f3d0bacba4e605ed0d3fa2ea22d478931f0ec7b3612e480e/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38343437356230626364616530343436346464382f746573745f636f766572616765)](https://codeclimate.com/github/StadGent/php_package_services-opening-hours/test_coverage)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 89.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~199 days

Recently: every ~294 days

Total

10

Last Release

1279d ago

Major Versions

0.2.0 → 1.0.02018-09-18

1.3.0 → 2.0.02022-08-26

PHP version history (4 changes)0.1.0PHP &gt;=5.6

1.2.0PHP &gt;=7.2

1.3.0PHP ^7.4 || ^8.1

2.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd0af1f056fd3baa2df55c0c745ade4d0f8af99505f717bf0ad48d7b615a2153?d=identicon)[Jelle-S](/maintainers/Jelle-S)

![](https://www.gravatar.com/avatar/ec45173701ba2e7958fd8b51291f9f1d0edf4444bce07d44c0fabda7300368cf?d=identicon)[zero2one](/maintainers/zero2one)

![](https://www.gravatar.com/avatar/7cfd5896bb41365115b75a18963ac964fbcfc44150103c366c2f4e039931d9d9?d=identicon)[daften](/maintainers/daften)

---

Top Contributors

[![zero2one](https://avatars.githubusercontent.com/u/133124?v=4)](https://github.com/zero2one "zero2one (262 commits)")[![MPParsley](https://avatars.githubusercontent.com/u/1823998?v=4)](https://github.com/MPParsley "MPParsley (18 commits)")[![Jelle-S](https://avatars.githubusercontent.com/u/1828542?v=4)](https://github.com/Jelle-S "Jelle-S (9 commits)")[![daften](https://avatars.githubusercontent.com/u/1221024?v=4)](https://github.com/daften "daften (3 commits)")[![pj-claeys](https://avatars.githubusercontent.com/u/5794960?v=4)](https://github.com/pj-claeys "pj-claeys (2 commits)")

---

Tags

d09check22lodphpwebservicesopening-hoursdistrict09gent

### Embed Badge

![Health badge](/badges/stadgent-services-opening-hours/health.svg)

```
[![Health](https://phpackages.com/badges/stadgent-services-opening-hours/health.svg)](https://phpackages.com/packages/stadgent-services-opening-hours)
```

###  Alternatives

[yidas/google-maps-services

PHP client library(SDK) for Google Maps API Web Services

721.3M](/packages/yidas-google-maps-services)[conquer/services

Yii2 soap wsdl web services

1632.5k](/packages/conquer-services)[algo-web/podata-laravel

Expose Odata services from laravel

333.2k](/packages/algo-web-podata-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
