Packagist · packagist:spatie/opening-hours
spatie/opening-hours active
A helper to query and format a set of opening hours
| Latest stable version | 4.2.3 |
|---|---|
| Published | 2026-09-27 09:35:42+00:00 |
| Install | composer require spatie/opening-hours |
| Required PHP version (composer.json) | PHP ^8.2 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-09 15:04:40 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-09-27 09:35:42 UTC · 12 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 63 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.2.3 | 2026-09-27 09:35:42 UTC |
4.2.2 | 2026-07-09 19:41:40 UTC |
4.2.1 | 2025-05-24 16:39:27 UTC |
4.2.0 | 2025-02-17 09:14:58 UTC |
4.1.3 | 2025-02-11 18:12:36 UTC |
4.1.2 | 2024-12-18 12:38:30 UTC |
4.1.1 | 2024-12-11 10:19:14 UTC |
4.1.0 | 2024-11-27 11:01:58 UTC |
4.0.3 | 2024-11-17 12:59:49 UTC |
4.0.2 | 2024-10-24 13:49:11 UTC |
4.0.1 | 2024-10-19 17:49:28 UTC |
4.0.0 | 2024-06-26 07:52:06 UTC |
3.0.0 | 2023-11-12 09:02:33 UTC |
2.41.0 | 2023-06-12 19:54:57 UTC |
2.13.0 | 2022-08-07 15:46:29 UTC |
2.12.0 | 2022-07-24 15:16:28 UTC |
2.11.3 | 2022-07-23 15:59:23 UTC |
2.11.2 | 2021-12-09 10:16:57 UTC |
2.11.1 | 2021-11-25 22:39:44 UTC |
2.11.0 | 2021-10-13 12:11:07 UTC |
Showing the 20 most recent of 61 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 3.0.0 |
php 8.0 | 3.0.0 |
php 8.1 | 3.0.0 |
php 8.2 | 4.2.3 |
php 8.3 | 4.2.3 |
php 8.4 | 4.2.3 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of spatie/opening-hours?
The latest stable version of spatie/opening-hours is 4.2.3, published on 2026-09-27. Verified by Vigia on 2026-10-09.
How do I install the latest version of spatie/opening-hours?
Run composer require spatie/opening-hours. The latest stable version is 4.2.3 (verified 2026-10-09).
Is spatie/opening-hours deprecated?
No. spatie/opening-hours is not marked as deprecated in the registry.
Which PHP version does spatie/opening-hours require?
spatie/opening-hours 4.2.3 declares this requirement: PHP ^8.2.
Does spatie/opening-hours 4.2.3 have known vulnerabilities?
No known advisories affect spatie/opening-hours 4.2.3 according to the data Vigia checks.
Is spatie/opening-hours still maintained?
spatie/opening-hours published 2 stable releases in the last 12 months; the most recent was 12 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- adodb/adodb-php
- yiisoft/yii2-gii
- typo3/cms-info
- symplify/vendor-patches
- sqids/sqids
- spatie/laravel-horizon-watcher
- yajra/laravel-datatables-fractal
- phpoffice/phpexcel
- erusev/parsedown-extra
- astock/stock-api-libphp
- typo3/cms-beuser
- glushkovds/clickhouse-builder
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/spatie/opening-hours) [](https://vigia.coredls.cloud/packagist/spatie/opening-hours) [](https://vigia.coredls.cloud/packagist/spatie/opening-hours)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/opening-hours
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/opening-hours/versions/{version}