PHP code example of mergesoft / arg-calendar

1. Go to this page and download the library: Download mergesoft/arg-calendar 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/ */

    

mergesoft / arg-calendar example snippets


// ...
'options' => [
    "8-13"  => "forenoon",
    "8-18"  => "day",
    "8-24"  => "day_evening",
    "13-18" => "afternoon",
    "13-24" => "afternoon_evening",
    "18-24" => "evening"
  ],
  // ...

php artisan vendor:publish --provider="MergeSoft\CalendarServiceProvider" --tag="config"

php artisan vendor:publish --provider="MergeSoft\CalendarServiceProvider" --tag="lang.en"
html
<x-arg-calendar form-action="book.php" 
                :bookings="$bookings" />