dskzpt / openinghours
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: >=8.0
- spatie/opening-hours: ^3.0
- typo3/cms-core: ^11.5 || ^12.4
Requires (Dev)
- ergebnis/composer-normalize: ^2.24
- friendsoftypo3/phpstan-typo3: ^0.9.0
- helmich/typo3-typoscript-lint: ^3.0
- phpstan/extension-installer: ^1.2
- phpstan/phpstan: ^1.4
- typo3/coding-standards: ^0.7.1
- typo3/testing-framework: ^8.0
Replaces
- typo3-ter/openinghours: v0.2.0-beta
This package is auto-updated.
Last update: 2024-11-08 11:01:19 UTC
README
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
- Install extension via composer
composer require dskzpt/openinghours
- Include the static TypoScript
- Create a "Schedule" entity and fill in your opening times and exceptions
- 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
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