Download the PHP
package hashandsalt/kirby-recurr without Composer
On this page you can find all versions of the php package
hashandsalt/kirby-recurr. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor hashandsalt Package kirby-recurr Short Description Kirby 3 Recurring Date Helper License
MIT
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
By default the plugin returns an array of dates for start and end times for each. If you want an RRule instead, you set true on the end:
End date is optional:
By day is only used if the frequency is set to either MONTHLY or YEARLY.
Field Methods
By day and Frequency need to be in uppercase, for convenience there are 2 field methods to do this for you:
Example Use
In the example above, we are feeding it Start Time, End Time, Frequency, Days to repeat on and the date to stop the range. The above example repeats every week but only on Wednesdays, Thursdays and Fridays. Then you can loop through it:
Date/Time Array
RRule
If your working with a calendar like fullcalender.js that supports RRules, you can get that like so:
Filter past dates
For convenience, the plugin contains a collection filter that will remove events that have happened before a certain date.
To see this in action, you can use the snippet provided with the plugin to list upcoming events, assuming you have a collection called 'events':
Options
Default time zone is Europe/London, and time format is 09-12-19 2:00am.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package hashandsalt/kirby-recurr contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.