Download the PHP package cline/opening-hours without Composer
On this page you can find all versions of the php package cline/opening-hours. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package opening-hours
opening-hours
An immutable opening-hours engine built around typed schedules, date-specific override rules, and schema.org adapters.
Requirements
Requires PHP 8.5+
Installation
Usage
V2 API
OpeningHours::fromArray()builds schedules from weekday definitions plus explicit exception rules.OpeningHours::fromWeeklySchedule()builds directly from typed value objects.OpeningHours::createFromStructuredData()imports schema.org opening hour specifications.QueryOptionscontrols input timezone, output timezone, and search limits for transition queries.
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
- Brian Faust
- All Contributors
License
The MIT License. Please see License File for more information.
All versions of opening-hours with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.5.0
The package cline/opening-hours contains the following files
Loading the files please wait ...