PHP code example of remeritus / livewire-rrule-generator
1. Go to this page and download the library: Download remeritus/livewire-rrule-generator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
remeritus / livewire-rrule-generator example snippets
return [
'title' => 'Define Schedule',
' 'WEEKLY' => TRUE,
'MONTHLY' => TRUE,
'YEARLY' => TRUE,
],
'defaultView' => 'WEEKLY',
'weekStarts' => 'MO',
];
<livewire:rrule-generator/>
<livewire:rrule-generator rrule-string='FREQ=WEEKLY;COUNT=30;INTERVAL=1' />