Skip to content

dauskonzept/openinghours

Repository files navigation

StandWithUkraine TYPO3 10 TYPO3 11 Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

TYPO3 Extension "openinghours"

What does it do?

Manage and display your business' opening hours. This Extensions leverages spatie/opening-hours for all of the business logic/handling of opening hours.

Summary of features

  • Display your business' opening hours as a
    • Table: Full week or days with same opening times combined
    • String: e.g.: "We're closed since Monday 19:00 o'clock, We will re-open at Tuesday 08:00 o'clock."
  • Show all your different/varying opening hours (e.g. special openings on certain dates)
  • Display your regular schedule or schedules for contrete weeks with variing opening times
  • Show overrides - e.g. for business holidays
  • Fully customize the output to your desire by overwriting Fluid templates
  • Leverages spatie/opening-hours

Installation

The recommended way to install the extension is by using Composer. In your Composer based TYPO3 project root, just run:

composer require dskzpt/openinghours

Setup

  1. Install extension via composer composer require dskzpt/openinghours
  2. Include the static TypoScript
  3. Create a "Schedule" entity and fill in your opening times and exceptions
  4. Add a frontend plugin to a page to render your desired view.

Recommendend

See spatie/opening-hours documentation to see what else you can do with your Opening Hours.

Compatibility

Version TYPO3 PHP Support/Development
1.x 10.4 - 11.5 7.4 - 8.0 Features, Bugfixes, Security Updates

Contributing

Please refer to the contributing document included in this repository.

Testing

This Extension comes with a testsuite for coding styles and unit/functional tests. To run the tests simply use the provided composer script:

composer ci:test