Download the PHP package elabx/fieldtype-recurring-dates without Composer
On this page you can find all versions of the php package elabx/fieldtype-recurring-dates. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elabx/fieldtype-recurring-dates
More information about elabx/fieldtype-recurring-dates
Files in elabx/fieldtype-recurring-dates
Package fieldtype-recurring-dates
Short Description Field to setup recurring dates using RRule
License MIT
Homepage https://github.com/elabx/FieldtypeRecurringDates
Informations about the package fieldtype-recurring-dates
This is a pre-release please do not use in production.
FieldtypeRecurringDates
Fieldtype and Inputfield for definining recurring dates according to RFC-RFC 5545 and the awesome library php-rrule
Installation
Make sure to install both FieldtyeRecurringDates and AlpineJS modules. Additionally you may install RecurringDatesFinder for search operations.
Or download through the processwire modules directory.
This module will save the RRules occurrences in the database to be queried later.
Find pages with fields
Use date values valid for date selectors.
`
Finding occurrences
You can use the module included in this same package to find the rules occurrences:
$start
and $end
value are any acceptable value for $datetime
This method will return the SQL UNION result of specified fields.
You can also hook into getRecurringFieldQueries() to add queries that will get added to the final UNION query.
TODO
- [ ] Add support for BYSETPOS
- [ ] Add support for 'Never' option.
Wishlist
- [ ] Support for plain text RRule.
- [ ] Add support for BYWEEKNO, BYYEARDAY, BYMONTHDAY, BYMINUTE, BYHOUR, BYMINUTE, BYSECOND .
- [ ] Add support to modify RRule before saving? Maybe skips
- [ ] Use RSet instead of RRule?
All versions of fieldtype-recurring-dates with dependencies
php Version >=7.3
rlanvin/php-rrule Version ^2.3
elabx/processwire-alpinejs Version dev-main